DOLFIN
DOLFIN C++ interface
Public Member Functions | Static Public Member Functions | List of all members
dolfin::PETScObject Class Reference

#include <PETScObject.h>

Inheritance diagram for dolfin::PETScObject:
Inheritance graph
[legend]

Public Member Functions

 PETScObject ()
 Constructor. Ensures that PETSc has been initialised.
 
virtual ~PETScObject ()
 Destructor.
 

Static Public Member Functions

static void petsc_error (int error_code, std::string filename, std::string petsc_function)
 Print error message for PETSc calls that return an error.
 

Detailed Description

This class calls SubSystemsManager to initialise PETSc.

All PETSc objects must be derived from this class.


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