Loading [MathJax]/extensions/tex2jax.js
Finite Volume Solver  prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
fub::samrai::ScopeGuard Struct Reference

Initialises and finalizes the required SAMRAI routines for an application. More...

#include <ScopeGuard.hpp>

Public Member Functions

 ScopeGuard (int argc, char **argv)
 This method uses the global communication group, MPI_WORLD_COMM, for calls to SAMRAI routines. More...
 
 ScopeGuard (MPI_Comm comm)
 
 ScopeGuard (const ScopeGuard &)=delete
 
ScopeGuardoperator= (const ScopeGuard &)=delete
 
 ScopeGuard (ScopeGuard &&)=delete
 
ScopeGuardoperator= (ScopeGuard &&)=delete
 
 ~ScopeGuard () noexcept
 Calls SAMRAI routines to do the clean-up. More...
 

Detailed Description

Initialises and finalizes the required SAMRAI routines for an application.

Constructor & Destructor Documentation

◆ ScopeGuard() [1/4]

fub::samrai::ScopeGuard::ScopeGuard ( int  argc,
char **  argv 
)

This method uses the global communication group, MPI_WORLD_COMM, for calls to SAMRAI routines.

◆ ScopeGuard() [2/4]

fub::samrai::ScopeGuard::ScopeGuard ( MPI_Comm  comm)

◆ ScopeGuard() [3/4]

fub::samrai::ScopeGuard::ScopeGuard ( const ScopeGuard )
delete

◆ ScopeGuard() [4/4]

fub::samrai::ScopeGuard::ScopeGuard ( ScopeGuard &&  )
delete

◆ ~ScopeGuard()

fub::samrai::ScopeGuard::~ScopeGuard ( )
noexcept

Calls SAMRAI routines to do the clean-up.

Member Function Documentation

◆ operator=() [1/2]

ScopeGuard& fub::samrai::ScopeGuard::operator= ( const ScopeGuard )
delete

◆ operator=() [2/2]

ScopeGuard& fub::samrai::ScopeGuard::operator= ( ScopeGuard &&  )
delete

The documentation for this struct was generated from the following file: