Skip to content

Class TempLat::SessionGuard

ClassList > TempLat > SessionGuard

A class which holds all the guards: fftw, other fft libraries and mpi. Only one instance per process is allowed. Throws an exception if that condition is violated. More...

  • #include <sessionguard.h>

Public Functions

Type Name
SessionGuard (int argc, char * argv, bool verbose=false)

Public Static Functions

Type Name
int GetInstanceCounter ()

Detailed Description

Unit test: ctest -R test-sessionguard

Public Functions Documentation

function SessionGuard

inline TempLat::SessionGuard::SessionGuard (
    int argc,
    char * argv,
    bool verbose=false
) 

Public Static Functions Documentation

function GetInstanceCounter

static inline int TempLat::SessionGuard::GetInstanceCounter () 


The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/session/sessionguard.h