OGS
ApplicationsLib::LinearSolverLibrarySetup Struct Referencefinal

Detailed Description

Definition at line 30 of file LinearSolverLibrarySetup.h.

#include <LinearSolverLibrarySetup.h>

Collaboration diagram for ApplicationsLib::LinearSolverLibrarySetup:
[legend]

Public Member Functions

 LinearSolverLibrarySetup (int argc, char *argv[])
 
 ~LinearSolverLibrarySetup ()
 

Public Attributes

BaseLib::MPI::Setup mpi_setup
 

Constructor & Destructor Documentation

◆ LinearSolverLibrarySetup()

ApplicationsLib::LinearSolverLibrarySetup::LinearSolverLibrarySetup ( int argc,
char * argv[] )
inline

Definition at line 32 of file LinearSolverLibrarySetup.h.

32 : mpi_setup(argc, argv)
33 {
34 char help[] = "ogs6 with PETSc \n";
35 PetscInitialize(&argc, &argv, nullptr, help);
36 MPI_Comm_set_errhandler(PETSC_COMM_WORLD, MPI_ERRORS_RETURN);
37 }

◆ ~LinearSolverLibrarySetup()

ApplicationsLib::LinearSolverLibrarySetup::~LinearSolverLibrarySetup ( )
inline

Definition at line 39 of file LinearSolverLibrarySetup.h.

40 {
42 PetscFinalize();
43 }
void cleanupGlobalMatrixProviders()

References NumLib::cleanupGlobalMatrixProviders().

Member Data Documentation

◆ mpi_setup

BaseLib::MPI::Setup ApplicationsLib::LinearSolverLibrarySetup::mpi_setup

Definition at line 45 of file LinearSolverLibrarySetup.h.


The documentation for this struct was generated from the following file: