26 #ifndef AURYN_GLOBAL_H_ 27 #define AURYN_GLOBAL_H_ 29 #include <boost/filesystem.hpp> 44 #ifdef AURYN_CODE_USE_MPI 46 extern mpi::environment *
mpienv;
50 #endif // AURYN_CODE_USE_MPI void auryn_free()
Cleanly shuts down Auryn simulation environment.
Definition: auryn_global.cpp:107
mpi::environment * mpienv
Global pointer to instance of mpi::environment which needs to be initialized in every simulation main...
Definition: auryn_global.cpp:33
mpi::communicator * mpicommunicator
Global pointer to instance of mpi::mpicommunicator which needs to be initialized in every simulation ...
Definition: auryn_global.cpp:32
Logger * logger
Global pointer to instance of Logger which needs to be initialized in every simulation main program...
Definition: auryn_global.cpp:36
void auryn_kernel_init(string dir, string simulation_name)
Initalizes the Auryn kernel (used internally)
Definition: auryn_global.cpp:73
Definition: ABSConnection.h:38
void auryn_kernel_free()
Frees the current auryn kernel (used interally)
Definition: auryn_global.cpp:93
void auryn_abort(int errcode)
Terminates Auryn simulation abnormally.
Definition: auryn_global.cpp:113
System * sys
Global pointer to instance of System which needs to be initialized in every simulation main program...
Definition: auryn_global.cpp:37
void auryn_init(int ac, char *av[], string dir, string simulation_name, string logfile_prefix, LogMessageType filelog_level, LogMessageType consolelog_level)
Initalizes MPI and the Auryn simulation environment.
Definition: auryn_global.cpp:84
LogMessageType
Enum type for significance level of a given message send to the Logger.
Definition: Logger.h:41
void auryn_env_free()
Frees logger and MPI.
Definition: auryn_global.cpp:98
void auryn_env_init(int ac, char *av[], string dir, string logfile_prefix, LogMessageType filelog_level, LogMessageType consolelog_level)
Initalizes Auryn base environment (used internally)
Definition: auryn_global.cpp:40