|
FEAT 3
Finite Element Analysis Toolbox
|
FEAT Runtime management class. More...
#include <runtime.hpp>
Classes | |
| class | ScopeGuard |
| Runtime scope guard class. More... | |
| class | SyncGuard |
| Runtime sync guard class. More... | |
Static Public Member Functions | |
| static void | abort (bool dump_call_stack=true) |
| FEAT abortion. More... | |
| static int | finalize () |
| FEAT finalization. More... | |
| static void * | get_cudss_handle () |
| Returns the unique cuDSS third-party library handle. More... | |
| static void | initialize (int &argc, char **&argv) |
| FEAT initialization. More... | |
Static Private Attributes | |
| static bool | _finalized = false |
| signals, if finalize was called More... | |
| static bool | _initialized = false |
| signals, if initialize was called More... | |
FEAT Runtime management class.
Definition at line 24 of file runtime.hpp.
|
static |
FEAT abortion.
This function terminates this process and, in a MPI-based run, also all other processes belonging to this group.
| [in] | dump_call_stack | Specifies whether to dump the call-stack to stderr prior to process termination. Note that a call-stack dump may not be available on all platforms. |
Definition at line 413 of file runtime.cpp.
References FEAT::Windows::dump_call_stack_to_stderr().
Referenced by FEAT::abortion(), FEAT::assertion(), finalize(), and initialize().
|
static |
FEAT finalization.
This function finalizes the FEAT library.
main function.EXIT_SUCCESS) that can be returned by the main function. Definition at line 445 of file runtime.cpp.
References _finalized, _initialized, abort(), FEAT_MARKER_CLOSE, FEAT::Dist::finalize(), and FEAT::MemoryPool::finalize().
Referenced by FEAT::Runtime::ScopeGuard::~ScopeGuard().
|
static |
Returns the unique cuDSS third-party library handle.
Definition at line 488 of file runtime.cpp.
|
static |
FEAT initialization.
This function performs the basic initialization of the FEAT library.
main function.| [in] | argc,argv | The argument parameters of the calling main function. |
Definition at line 51 of file runtime.cpp.
References _finalized, _initialized, abort(), FEAT::Windows::disable_error_prompts(), FEAT_MARKER_INIT, FEAT::Windows::get_current_process_id(), FEAT::MemoryPool::initialize(), FEAT::Dist::initialize(), FEAT::Windows::install_seh_filter(), FEAT::Dist::Comm::rank(), FEAT::version_major, FEAT::version_minor, FEAT::version_patch, and FEAT::Dist::Comm::world().
Referenced by FEAT::Runtime::ScopeGuard::ScopeGuard().
|
staticprivate |
signals, if finalize was called
Definition at line 31 of file runtime.hpp.
Referenced by finalize(), and initialize().
|
staticprivate |
signals, if initialize was called
Definition at line 28 of file runtime.hpp.
Referenced by finalize(), and initialize().