PETSC_VERSION_GE(MAJOR, MINOR, SUBMINOR)¶
- #include <petsclib.hxx>
Handles initialisation and finalisation of PETSc library. The first instance which is created initialises PETSc Keeps a count of the number of how many instances exist When the last instance is destroyed it finalises PETSc.
Ensure that PETSc has been initialised
Public Static Functions
setArgs(int &c, char **&v)¶
This is called once to set the command-line options. Should be done early in the program, before any instances of PetscLib are created. The arguments will be passed to PetscInitialize()