Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Typedefs | Functions | Variables
MpiDataTypeHandler.hpp File Reference
#include "shamsys/legacy/log.hpp"
#include <functional>
#include <string>
+ Include dependency graph for MpiDataTypeHandler.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  shamsys::mpidtypehandler::MPIDTypeinit
 
struct  shamsys::mpidtypehandler::MPIDTypefree
 

Namespaces

namespace  shamsys
 namespace for the system handling
 

Macros

#define Register_MPIDtypeInit(placeholdername, name)
 register a static init function to initialize a mpi type
 
#define Register_MPIDtypeFree(placeholdername, name)
 register a static init function to free a mpi type
 

Typedefs

using shamsys::mpidtypehandler::fct_sig = std::function< void()>
 

Functions

void shamsys::mpidtypehandler::init_mpidtype ()
 
void shamsys::mpidtypehandler::free_mpidtype ()
 

Variables

std::vector< fct_sig > shamsys::mpidtypehandler::static_init_shamrock_mpidtype {}
 
std::vector< fct_sig > shamsys::mpidtypehandler::static_free_shamrock_mpidtype {}
 
std::vector< std::string > shamsys::mpidtypehandler::static_init_shamrock_mpidtype_names {}
 
std::vector< std::string > shamsys::mpidtypehandler::static_free_shamrock_mpidtype_names {}
 

Detailed Description

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file MpiDataTypeHandler.hpp.

Macro Definition Documentation

◆ Register_MPIDtypeFree

#define Register_MPIDtypeFree (   placeholdername,
  name 
)
Value:
void mpifree_##placeholdername(); \
void (*mpifree_ptr_##placeholdername)() = mpifree_##placeholdername; \
shamsys::mpidtypehandler::MPIDTypefree mpifree_class_obj_##placeholdername( \
mpifree_ptr_##placeholdername, name); \
void mpifree_##placeholdername()

register a static init function to free a mpi type

Definition at line 81 of file MpiDataTypeHandler.hpp.

◆ Register_MPIDtypeInit

#define Register_MPIDtypeInit (   placeholdername,
  name 
)
Value:
void mpiinit_##placeholdername(); \
void (*mpiinit_ptr_##placeholdername)() = mpiinit_##placeholdername; \
shamsys::mpidtypehandler::MPIDTypeinit mpiinit_class_obj_##placeholdername( \
mpiinit_ptr_##placeholdername, name); \
void mpiinit_##placeholdername()

register a static init function to initialize a mpi type

Definition at line 70 of file MpiDataTypeHandler.hpp.

Typedef Documentation

◆ fct_sig

using shamsys::mpidtypehandler::fct_sig = typedef std::function<void()>

Definition at line 24 of file MpiDataTypeHandler.hpp.

Function Documentation

◆ free_mpidtype()

void shamsys::mpidtypehandler::free_mpidtype ( )
inline

Definition at line 41 of file MpiDataTypeHandler.hpp.

◆ init_mpidtype()

void shamsys::mpidtypehandler::init_mpidtype ( )
inline

Definition at line 32 of file MpiDataTypeHandler.hpp.

Variable Documentation

◆ static_free_shamrock_mpidtype

std::vector<fct_sig> shamsys::mpidtypehandler::static_free_shamrock_mpidtype {}
inline

Definition at line 27 of file MpiDataTypeHandler.hpp.

◆ static_free_shamrock_mpidtype_names

std::vector<std::string> shamsys::mpidtypehandler::static_free_shamrock_mpidtype_names {}
inline

Definition at line 30 of file MpiDataTypeHandler.hpp.

◆ static_init_shamrock_mpidtype

std::vector<fct_sig> shamsys::mpidtypehandler::static_init_shamrock_mpidtype {}
inline

Definition at line 26 of file MpiDataTypeHandler.hpp.

◆ static_init_shamrock_mpidtype_names

std::vector<std::string> shamsys::mpidtypehandler::static_init_shamrock_mpidtype_names {}
inline

Definition at line 29 of file MpiDataTypeHandler.hpp.