#include <PetscSetupAndFinalize.hpp>
Public Member Functions | |
bool | setUpWorld () |
bool | tearDownWorld () |
Currently it will dump info on any non-freed vectors or matrices on finalisation.
Definition at line 73 of file PetscSetupAndFinalize.hpp.
bool PetscSetup::setUpWorld | ( | ) | [inline] |
Standard setup method for PETSc.
The cxxtest_argc and cxxtest_argv variables are global, and filled in from the arguments passed to the cxxtest test suite runner.
Definition at line 77 of file PetscSetupAndFinalize.hpp.
References PetscArguments::Instance(), PetscArguments::p_argc, and PetscArguments::p_argv.
bool PetscSetup::tearDownWorld | ( | ) | [inline] |
Clean up PETSc after running all tests.
Definition at line 106 of file PetscSetupAndFinalize.hpp.