ScalES-PPM
Loading...
Searching...
No Matches
core.c File Reference

interface to user-adjustable core routines of scales ppm More...

#include <stdio.h>
#include <stdlib.h>
#include <cfortran.h>
#include "core/ppm_visibility.h"
#include "core/core.h"
#include "core/symprefix.h"

Macros

#define F2C_Data   COMMON_BLOCK(SYMPREFIX(F2C_DATA),symprefix(f2c_data))
 

Functions

MPI_Comm SymPrefix (default_comm)
 
 COMMON_BLOCK_DEF (SymPrefix(F2C_Def), F2C_Data)
 
 SymPrefix (F2C_Def)
 
void SymPrefix abort_default (MPI_Comm comm, const char *msg, const char *source, int line)
 
 SymPrefix (abort_func)
 

Detailed Description

interface to user-adjustable core routines of scales ppm

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

Function Documentation

◆ abort_default()

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

This function prints the message argument and file and line of the error to standard error, and calls either MPI_Abort or abort depending on whether MPI is initialized.

Parameters
commMPI communcator object to use on call to MPI_Abort
msgmessage text to print
sourcestring describing source file name
lineline number of caller

◆ SymPrefix()

SymPrefix ( abort_func )

Unless modified, this function pointer will reference PPM_abort_default.

Das diesem Bericht zugrundeliegende Vorhaben wurde mit Mitteln des Bundesministeriums für Bildung, und Forschung unter dem Förderkennzeichen 01IH08004E gefördert. Die Verantwortung für den Inhalt dieser Veröffentlichung liegt beim Autor.