12#ifndef BELFEM_CL_COMMUNICATOR_HPP
13#define BELFEM_CL_COMMUNICATOR_HPP
18#define COMM_TYPE MPI_Comm
61 std::string mExecutablePath;
63 std::string mArgumentString =
"";
87 int argc,
char ** argv );
103 init(
int & argc,
char ** & argv );
164 inline std::mt19937 &
184 init_thread(
int & argc,
char ** & argv );
belfem::Communicator gComm
Definition belfem.cpp:35
#define COMM_TYPE
Definition cl_Communicator.hpp:20
Cell is a wrapper around the standard vector.
Definition cl_Cell.hpp:42
Definition cl_Communicator.hpp:34
virtual void free()
Definition cl_Communicator.cpp:385
CommunicationObject()
Definition cl_Communicator.cpp:373
index_t index() const
Definition cl_Communicator.cpp:391
Global MPI communicator manager.
Definition cl_Communicator.hpp:60
void set_arguments(const string &aArguments)
overrides the argument string assembled by init(); no framework caller today ( the Arguments-object c...
Definition cl_Communicator.cpp:287
int finalize()
Definition cl_Communicator.cpp:295
proc_t node_size() const
returns the number of MPI ranks on this node
Definition cl_Communicator.hpp:208
COMM_TYPE & world()
Definition cl_Communicator.cpp:249
Communicator()
Definition cl_Communicator.hpp:82
int max_tag() const
Definition cl_Communicator.hpp:171
Communicator(Communicator &&)=delete
proc_t rank() const
Definition cl_Communicator.hpp:192
Communicator(const Communicator &)=delete
Cell< CommunicationObject * > & objects()
Definition cl_Communicator.hpp:214
proc_t size() const
Definition cl_Communicator.hpp:200
const std::string & workdir()
Definition cl_Communicator.cpp:264
Communicator & operator=(Communicator &&)=delete
std::mt19937 & random()
Definition cl_Communicator.hpp:165
const std::string & exec_path()
Definition cl_Communicator.cpp:257
void init(int &argc, char **&argv)
Definition cl_Communicator.cpp:96
Cell< std::string > & arguments()
Definition cl_Communicator.cpp:271
Communicator & operator=(const Communicator &)=delete
const std::string & argument_string()
Definition cl_Communicator.cpp:279
USER GUIDES:
Definition cl_Capacitor.cpp:16
int proc_t
Definition commtypes.hpp:29
void comm_abort(const int aErrorCode=1)
Kill the whole job.
Definition commtools.cpp:67
constexpr proc_t gNoOwner
Definition typedefs.hpp:59
uint32_t index_t
Definition typedefs.hpp:52