|
Smith
0.1
Smith is an implicit thermal structural mechanics simulation code.
|
RAII Application Manager class. Initializes MPI and other important libraries as well as automatically finalizes them upon going out of scope. More...
#include <application_manager.hpp>
Public Member Functions | |
| ApplicationManager (int argc, char *argv[], MPI_Comm comm=MPI_COMM_WORLD, bool doesPrintRunInfo=true, ExecutionSpace exec_space=ExecutionSpace::CPU) | |
| Initialize MPI, signal handling, logging, profiling, hypre, sundials, petsc, and slepc. More... | |
| ~ApplicationManager () | |
| Calls smith::finalizer. | |
| ApplicationManager (ApplicationManager const &)=delete | |
| ApplicationManager & | operator= (ApplicationManager const &)=delete |
RAII Application Manager class. Initializes MPI and other important libraries as well as automatically finalizes them upon going out of scope.
Definition at line 22 of file application_manager.hpp.
| smith::ApplicationManager::ApplicationManager | ( | int | argc, |
| char * | argv[], | ||
| MPI_Comm | comm = MPI_COMM_WORLD, |
||
| bool | doesPrintRunInfo = true, |
||
| ExecutionSpace | exec_space = ExecutionSpace::CPU |
||
| ) |
Initialize MPI, signal handling, logging, profiling, hypre, sundials, petsc, and slepc.
| argc | The number of command-line arguments |
| argv | The command-line arguments, as C-strings |
| comm | The MPI communicator to initialize with |
| doesPrintRunInfo | Whether or not to print build information |
| exec_space | The desired execution space of device-capable lambda functions |
Definition at line 85 of file application_manager.cpp.