26 #ifndef GRINS_SIMULATION_H
27 #define GRINS_SIMULATION_H
33 #include "grins_config.h"
45 #include "libmesh/error_estimator.h"
46 #include "libmesh/getpot.h"
47 #include "libmesh/mesh.h"
55 class SimulationBuilder;
56 class MultiphysicsSystem;
64 const libMesh::Parallel::Communicator &comm
65 LIBMESH_CAN_DEFAULT_TO_COMMWORLD );
70 const libMesh::Parallel::Communicator &comm
71 LIBMESH_CAN_DEFAULT_TO_COMMWORLD );
84 libMesh::Number
get_qoi_value(
unsigned int qoi_index )
const;
103 const libMesh::Parallel::Communicator &comm );
115 SharedPtr<libMesh::UnstructuredMesh>
_mesh;
127 SharedPtr<GRINS::Visualization>
_vis;
190 #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
bool _print_constraint_info
void build_error_estimator(const GetPot &input)
SharedPtr< QoIOutput > _qoi_output
SharedPtr< libMesh::ErrorEstimator > _error_estimator
bool _print_equation_system_info
libMesh::Number get_qoi_value(unsigned int qoi_index) const
MultiphysicsSystem * get_multiphysics_system()
const std::string & get_multiphysics_system_name() const
Container for ErrorEstimator options.
void init_adjoint_solve(const GetPot &input, bool output_adjoint)
Helper function.
libMesh::UniquePtr< GRINS::Solver > _solver
void init_qois(const GetPot &input, SimulationBuilder &sim_builder)
Helper function.
void build_solver(const GetPot &input)
Interface with libMesh for solving Multiphysics problems.
ParameterManager _adjoint_parameters
bool _output_residual_sensitivities
bool _output_solution_sensitivities
ErrorEstimatorOptions _error_estimator_options
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