21 #ifndef FUB_SAMRAI_SCOPE_GUARD_HPP
22 #define FUB_SAMRAI_SCOPE_GUARD_HPP
The fub namespace.
Definition: AnyBoundaryCondition.hpp:31
Initialises and finalizes the required SAMRAI routines for an application.
Definition: SAMRAI/ScopeGuard.hpp:30
ScopeGuard(const ScopeGuard &)=delete
ScopeGuard(ScopeGuard &&)=delete
ScopeGuard(int argc, char **argv)
This method uses the global communication group, MPI_WORLD_COMM, for calls to SAMRAI routines.
ScopeGuard & operator=(ScopeGuard &&)=delete
ScopeGuard & operator=(const ScopeGuard &)=delete
ScopeGuard(MPI_Comm comm)
~ScopeGuard() noexcept
Calls SAMRAI routines to do the clean-up.