PETScObject.h

Note

The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.

class PETScObject

This class calls SubSystemsManager to initialise PETSc.

All PETSc objects must be derived from this class.

PETScObject()

Constructor. Ensures that PETSc has been initialised.

static void petsc_error(int error_code, std::string filename, std::string petsc_function)

Print error message for PETSc calls that return an error