Chaste
Release::3.4
|
#include <PetscSetupUtils.hpp>
Static Public Member Functions | |
static void | CommonSetup () |
static void | InitialisePetsc () |
static void | ResetStatusCache () |
static void | CommonFinalize () |
Common code for setting up and tearing down tests. Used by PetscSetupAndFinalize.hpp and FakePetscSetup.hpp
Definition at line 43 of file PetscSetupUtils.hpp.
|
static |
The global finalize (prints citations).
Definition at line 163 of file PetscSetupUtils.cpp.
References Citations::Print().
Referenced by ExecutableSupport::FinalizePetsc(), and PetscSetup::tearDownWorld().
|
static |
The global setup for Chaste tests.
Definition at line 127 of file PetscSetupUtils.cpp.
References ChasteSourceRootDir(), EXPECT0, InitialisePetsc(), and Citations::Register().
Referenced by PetscSetup::setUpWorld().
|
static |
Just initialise PETSc without performing the rest of the common setup.
Definition at line 119 of file PetscSetupUtils.cpp.
References CommandLineArguments::Instance(), CommandLineArguments::p_argc, and CommandLineArguments::p_argv.
Referenced by CommonSetup().
|
static |
Call PetscTools::ResetCache(). Used by FakePetscSetup.hpp to ensure the cache doesn't reflect being run in parallel.
Definition at line 169 of file PetscSetupUtils.cpp.
References PetscTools::ResetCache().
Referenced by PetscSetup::setUpWorld().