31 #include "libmesh/getpot.h"
32 #include "libmesh/unstructured_mesh.h"
33 #include "libmesh/equation_systems.h"
44 _input.reset(
new GetPot(filename) );
47 _es.reset(
new libMesh::EquationSystems(*
_mesh) );
63 GRINS::SharedPtr<libMesh::UnstructuredMesh>
_mesh;
64 libMesh::UniquePtr<libMesh::EquationSystems>
_es;
void setup_multiphysics_system(const std::string &filename)
GRINS::SharedPtr< libMesh::UnstructuredMesh > _mesh
libMesh::Parallel::Communicator * TestCommWorld
Helper class for setting up basic GRINS::MultiphysicsSystem for unit testing.
libMesh::UniquePtr< libMesh::EquationSystems > _es
Interface with libMesh for solving Multiphysics problems.
GRINS::MultiphysicsSystem * _system
SharedPtr< libMesh::UnstructuredMesh > build(const GetPot &input, const libMesh::Parallel::Communicator &comm LIBMESH_CAN_DEFAULT_TO_COMMWORLD)
Builds the libMesh::Mesh according to input options.
libMesh::UniquePtr< GetPot > _input
virtual void read_input_options(const GetPot &input)
Reads input options for this class and all physics that are enabled.