26 #ifndef GRINS_SIMULATION_H 
   27 #define GRINS_SIMULATION_H 
   33 #include "grins_config.h" 
   44 #include "libmesh/error_estimator.h" 
   45 #include "libmesh/getpot.h" 
   46 #include "libmesh/mesh.h" 
   49 #ifdef GRINS_HAVE_GRVY 
   59   class SimulationBuilder;
 
   60   class MultiphysicsSystem;
 
   68                 const libMesh::Parallel::Communicator &comm
 
   69                 LIBMESH_CAN_DEFAULT_TO_COMMWORLD );
 
   74                 const libMesh::Parallel::Communicator &comm
 
   75                 LIBMESH_CAN_DEFAULT_TO_COMMWORLD );
 
   88     libMesh::Number 
get_qoi_value( 
unsigned int qoi_index ) 
const;
 
   92 #ifdef GRINS_USE_GRVY_TIMERS 
   93     void attach_grvy_timer( GRVY::GRVY_Timer_Class* grvy_timer );
 
  111                        const libMesh::Parallel::Communicator &comm );
 
  124     SharedPtr<libMesh::UnstructuredMesh> 
_mesh;
 
  136     SharedPtr<GRINS::Visualization> 
_vis;
 
  196 #endif // GRINS_SIMULATION_H 
void read_restart(const GetPot &input)
 
SharedPtr< libMesh::EquationSystems > get_equation_system()
 
void init_multiphysics_system(const GetPot &input)
Helper function. 
 
ParameterManager _forward_parameters
 
Simple class to hold and initialize a ParameterVector. 
 
void init_params(const GetPot &input, SimulationBuilder &sim_builder)
Helper function. 
 
unsigned int _timesteps_per_vis
 
SharedPtr< PostProcessedQuantities< libMesh::Real > > _postprocessing
 
void build_error_estimator(const GetPot &input)
 
SharedPtr< libMesh::ErrorEstimator > _error_estimator
 
bool _print_equation_system_info
 
libMesh::Number get_qoi_value(unsigned int qoi_index) const 
 
MultiphysicsSystem * get_multiphysics_system()
 
SharedPtr< GRINS::Solver > _solver
 
const std::string & get_multiphysics_system_name() const 
 
Container for ErrorEstimator options. 
 
void init_adjoint_solve(const GetPot &input, bool output_adjoint)
Helper function. 
 
void init_qois(const GetPot &input, SimulationBuilder &sim_builder)
Helper function. 
 
Interface with libMesh for solving Multiphysics problems. 
 
ParameterManager _adjoint_parameters
 
bool _output_residual_sensitivities
 
bool _output_solution_sensitivities
 
ErrorEstimatorOptions _error_estimator_options
 
void check_for_unused_vars(const GetPot &input, bool warning_only)
Helper function. 
 
void init_restart(const GetPot &input, SimulationBuilder &sim_builder, const libMesh::Parallel::Communicator &comm)
Helper function. 
 
SharedPtr< libMesh::UnstructuredMesh > _mesh
 
GRINS::MultiphysicsSystem * _multiphysics_system
 
unsigned int _timesteps_per_perflog
 
SharedPtr< GRINS::Visualization > _vis
 
bool check_for_adjoint_solve(const GetPot &input) const 
Helper function. 
 
std::string _system_name
GRINS::Multiphysics system name. 
 
SharedPtr< libMesh::EquationSystems > _equation_system