Chaste Commit::ca8ccdedf819b6e02855bc0e8e6f50bdecbc5208
|
#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 122 of file PetscSetupUtils.cpp.
References Citations::Print().
Referenced by ExecutableSupport::FinalizePetsc(), and PetscSetup::tearDownWorld().
|
static |
The global setup for Chaste tests.
Definition at line 86 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 76 of file PetscSetupUtils.cpp.
References CHASTE_PETSC_NULLPTR, CommandLineArguments::Instance(), CommandLineArguments::p_argc, CommandLineArguments::p_argv, and PetscTools::ResetCache().
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 130 of file PetscSetupUtils.cpp.
References PetscTools::ResetCache().
Referenced by PetscSetup::setUpWorld().