18 #ifndef __PETSC_OBJECT_H 19 #define __PETSC_OBJECT_H 24 #include <dolfin/common/SubSystemsManager.h> 46 std::string petsc_function);
PETScObject()
Constructor. Ensures that PETSc has been initialised.
Definition: PETScObject.h:38
static void init_petsc()
Initialize PETSc without command-line arguments.
Definition: SubSystemsManager.cpp:125
static void petsc_error(int error_code, std::string filename, std::string petsc_function)
Print error message for PETSc calls that return an error.
Definition: PETScObject.cpp:29
virtual ~PETScObject()
Destructor.
Definition: PETScObject.h:41
Definition: PETScObject.h:33