ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Classes | |
class | MpiCallbacks |
The interface of the MPI callback mechanism. More... | |
class | RegisterCallback |
Helper class to add callbacks before main. More... | |
Typedefs | |
template<class... Args> | |
using | CallbackHandle = MpiCallbacks::CallbackHandle< Args... > |
Functions | |
MpiCallbacks & | mpiCallbacks () |
Returns a reference to the global callback class instance. | |
std::shared_ptr< MpiCallbacks > | mpiCallbacksHandle () |
void | init (std::shared_ptr< boost::mpi::environment > mpi_env) |
Init globals for communication. | |
void | deinit () |
Variables | |
static std::shared_ptr< MpiCallbacks > | m_callbacks |
using Communication::CallbackHandle = typedef MpiCallbacks::CallbackHandle<Args...> |
Definition at line 484 of file MpiCallbacks.hpp.
void Communication::deinit | ( | ) |
Definition at line 89 of file communication.cpp.
References m_callbacks.
Referenced by MpiContainerUnitTest::~MpiContainerUnitTest().
void Communication::init | ( | std::shared_ptr< boost::mpi::environment > | mpi_env | ) |
Init globals for communication.
mpi_env | MPI environment that should be used |
Definition at line 72 of file communication.cpp.
References comm_cart, communicator, cuda_on_program_start(), Communicator::full_initialization(), ErrorHandling::init_error_handling(), m_callbacks, and walberla::mpi_init().
Referenced by MpiContainerUnitTest::MpiContainerUnitTest().
MpiCallbacks & Communication::mpiCallbacks | ( | ) |
Returns a reference to the global callback class instance.
Definition at line 54 of file communication.cpp.
References m_callbacks.
Referenced by get_particle_data(), mpi_call(), and mpi_call_all().
std::shared_ptr< MpiCallbacks > Communication::mpiCallbacksHandle | ( | ) |
Definition at line 60 of file communication.cpp.
References m_callbacks.
Referenced by ScriptInterface::walberla::EKFFT::do_construct(), ScriptInterface::Coulomb::CoulombScafacos::do_construct(), ScriptInterface::Writer::H5md::do_construct(), and ScriptInterface::Dipoles::DipolarScafacos::do_construct().
|
static |
Definition at line 51 of file communication.cpp.
Referenced by deinit(), init(), mpiCallbacks(), and mpiCallbacksHandle().