Chaste Release::3.1
|
#include <PetscSetupAndFinalize.hpp>
Public Member Functions | |
bool | setUpWorld () |
bool | tearDownWorld () |
This file is designed to be included by any test suites that use PETSc. It controls the PETSc initialisation and finalisation.
Definition at line 81 of file PetscSetupAndFinalize.hpp.
bool PetscSetup::setUpWorld | ( | ) | [inline] |
Standard setup method for PETSc.
Definition at line 86 of file PetscSetupAndFinalize.hpp.
References ChasteBuildRootDir(), EXPECT0, CommandLineArguments::Instance(), CommandLineArguments::p_argc, and CommandLineArguments::p_argv.
bool PetscSetup::tearDownWorld | ( | ) | [inline] |
Clean up PETSc after running all tests.
Causes memory failure (and seg fault) in PETSc 3.2 with MPICH-1
Definition at line 118 of file PetscSetupAndFinalize.hpp.