YetAnotherCoupler 3.5.2
Loading...
Searching...
No Matches
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 79 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 100 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 106 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 112 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 91 of file core.c.

◆ symprefix() [2/2]

static MPI_Comm symprefix ( default_comm )
static