interface to user-adjustable core routines of scales ppm
More...
#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include "ppm/core.h"
#include "ppm/symprefix.h"
Go to the source code of this file.
interface to user-adjustable core routines of scales ppm
- Copyright
- (C) 2010,2011,2012 Thomas Jahns jahns.nosp@m.@dkr.nosp@m.z.de
- Author
- Thomas Jahns jahns.nosp@m.@dkr.nosp@m.z.de
Definition in file core.c.
◆ abort_default()
static void symprefix() abort_default |
( |
MPI_Comm |
comm, |
|
|
const char * |
msg, |
|
|
const char * |
source, |
|
|
int |
line |
|
) |
| |
|
static |
◆ abort_message()
void symprefix() abort_message |
( |
char const * |
msg, |
|
|
const char * |
source, |
|
|
int |
line |
|
) |
| |
Call the symprefix(abort) function (providing the default communicator for the comm argument).
- Parameters
-
msg | message text to print |
source | string describing source file name |
line | line number of caller |
Definition at line 98 of file core.c.
◆ restore_default_abort_handler()
void symprefix() restore_default_abort_handler |
( |
void |
| ) |
|
Restore default abort handler.
Definition at line 104 of file core.c.
◆ set_abort_handler()
Set custom abort handler.
- Parameters
-
[in] | custom_abort | custom abort handler |
Definition at line 110 of file core.c.
◆ set_default_comm()
void symprefix() set_default_comm |
( |
MPI_Comm |
comm | ) |
|
change default communicator object
Definition at line 72 of file core.c.
◆ symprefix() [1/2]
◆ symprefix() [2/2]
static MPI_Comm symprefix |
( |
default_comm |
| ) |
|
|
static |