PetscSetupUtils Class Reference

#include <PetscSetupUtils.hpp>

List of all members.

Static Public Member Functions

static void CommonSetup ()
static void InitialisePetsc ()

Detailed Description

Common code for setting up and tearing down tests. Used by PetscSetupAndFinalize.hpp and FakePetscSetup.hpp

Definition at line 43 of file PetscSetupUtils.hpp.


Member Function Documentation

void PetscSetupUtils::CommonSetup (  )  [static]

The global setup for Chaste tests.

Definition at line 80 of file PetscSetupUtils.cpp.

References ChasteBuildRootDir(), EXPECT0, and InitialisePetsc().

Referenced by PetscSetup::setUpWorld().

void PetscSetupUtils::InitialisePetsc (  )  [static]

Just initialise PETSc without performing the rest of the common setup.

Definition at line 72 of file PetscSetupUtils.cpp.

References CommandLineArguments::Instance(), CommandLineArguments::p_argc, and CommandLineArguments::p_argv.

Referenced by CommonSetup().


The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2