YetAnotherCoupler 3.2.0_a
Loading...
Searching...
No Matches
Functions
core.c File Reference

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"
Include dependency graph for core.c:

Go to the source code of this file.

Functions

static MPI_Comm symprefix (default_comm)
 
void symprefix() set_default_comm (MPI_Comm comm)
 
static void symprefix() abort_default (MPI_Comm comm, const char *msg, const char *source, int line)
 
static symprefix (abort_func)
 
void symprefix() abort_message (const char *msg, const char *source, int line)
 
void symprefix() restore_default_abort_handler (void)
 
void symprefix() set_abort_handler (symprefix(abort_func) custom_abort)
 

Detailed Description

interface to user-adjustable core routines of scales ppm

Author
Thomas Jahns jahns.nosp@m.@dkr.nosp@m.z.de

Definition in file core.c.

Function Documentation

◆ abort_default()

static void symprefix() abort_default ( MPI_Comm  comm,
const char *  msg,
const char *  source,
int  line 
)
static

Definition at line 78 of file core.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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
msgmessage text to print
sourcestring describing source file name
lineline number of caller

Definition at line 98 of file core.c.

Here is the caller graph for this function:

◆ restore_default_abort_handler()

void symprefix() restore_default_abort_handler ( void  )

Restore default abort handler.

Definition at line 104 of file core.c.

Here is the call graph for this function:

◆ set_abort_handler()

void symprefix() set_abort_handler ( symprefix(abort_func)  custom_abort)

Set custom abort handler.

Parameters
[in]custom_abortcustom 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 ( abort_func  )
static

Definition at line 89 of file core.c.

◆ symprefix() [2/2]

static MPI_Comm symprefix ( default_comm  )
static