#include <PetscSetupAndFinalize.hpp>
Inherits CxxTest::GlobalFixture.

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 74 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 78 of file PetscSetupAndFinalize.hpp.
References CommandLineArguments::Instance(), CommandLineArguments::p_argc, and CommandLineArguments::p_argv.
| bool PetscSetup::tearDownWorld | ( | ) | [inline] |
Clean up PETSc after running all tests.
Definition at line 113 of file PetscSetupAndFinalize.hpp.
1.6.2