Serac  0.1
Serac is an implicit thermal strucural mechanics simulation code.
application_manager.hpp
1 // Copyright (c) Lawrence Livermore National Security, LLC and
2 // other Serac Project Developers. See the top-level LICENSE file for
3 // details.
4 //
5 // SPDX-License-Identifier: (BSD-3-Clause)
6 
7 #pragma once
8 
9 #include <string>
10 #include <utility>
11 #include <iostream>
12 
13 #include "mpi.h"
14 
15 namespace serac {
16 
22  public:
30  ApplicationManager(int argc, char* argv[], MPI_Comm comm = MPI_COMM_WORLD);
31 
36 
37  ApplicationManager(ApplicationManager const&) = delete;
38  ApplicationManager& operator=(ApplicationManager const&) = delete;
39 
40  private:
41  MPI_Comm comm_;
42 };
43 
44 } // namespace serac
RAII Application Manager class. Initializes MPI and other important libraries as well as automaticall...
ApplicationManager(int argc, char *argv[], MPI_Comm comm=MPI_COMM_WORLD)
Initialize MPI, signal handling, logging, profiling, hypre, sundials, petsc, and slepc.
~ApplicationManager()
Calls serac::finalizer.
Accelerator functionality.
Definition: serac.cpp:36