37 #ifndef _PETSCSETUPANDFINALIZE_HPP_
38 #define _PETSCSETUPANDFINALIZE_HPP_
46 #include <cxxtest/GlobalFixture.h>
51 #include "PetscSetupUtils.hpp"
53 #include "PetscException.hpp"
74 MPI_Comm_rank(MPI_COMM_WORLD, &my_rank);
79 PETSCEXCEPT(PetscFinalize());
85 PETSC_COMM_WORLD = MPI_COMM_SELF;
98 PETSC_COMM_WORLD = MPI_COMM_WORLD;
106 #endif //_PETSCSETUPANDFINALIZE_HPP_
static void CommonSetup()
static void CommonFinalize()
static void ResetStatusCache()