Smith  0.1
Smith is an implicit thermal structural mechanics simulation code.
Public Member Functions | List of all members
smith::ApplicationManager Class Reference

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
 
ApplicationManageroperator= (ApplicationManager const &)=delete
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ApplicationManager()

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.

Parameters
argcThe number of command-line arguments
argvThe command-line arguments, as C-strings
commThe MPI communicator to initialize with
doesPrintRunInfoWhether or not to print build information
exec_spaceThe desired execution space of device-capable lambda functions

Definition at line 85 of file application_manager.cpp.


The documentation for this class was generated from the following files: