GRINS-0.6.0
|
Simple class to hold objects passed to Solver::solve. More...
#include <solver_context.h>
Public Member Functions | |
SolverContext () | |
~SolverContext () | |
Public Attributes | |
GRINS::MultiphysicsSystem * | system |
std::tr1::shared_ptr< libMesh::EquationSystems > | equation_system |
std::tr1::shared_ptr< GRINS::Visualization > | vis |
unsigned int | timesteps_per_vis |
unsigned int | timesteps_per_perflog |
bool | output_vis |
bool | output_adjoint |
bool | output_residual |
bool | output_residual_sensitivities |
bool | output_solution_sensitivities |
bool | print_perflog |
bool | print_scalars |
bool | print_qoi |
bool | do_adjoint_solve |
std::tr1::shared_ptr< PostProcessedQuantities< libMesh::Real > > | postprocessing |
std::tr1::shared_ptr< libMesh::ErrorEstimator > | error_estimator |
Simple class to hold objects passed to Solver::solve.
Allows some flexibility for adding objects needed to pass to the Solver::solve method so that the solver can still be agnostic to creation etc. of those objects, but can operate on them.
Definition at line 49 of file solver_context.h.
GRINS::SolverContext::SolverContext | ( | ) |
Definition at line 34 of file solver_context.C.
|
inline |
Definition at line 54 of file solver_context.h.
bool GRINS::SolverContext::do_adjoint_solve |
Definition at line 69 of file solver_context.h.
Referenced by GRINS::MeshAdaptiveSolverBase::check_for_convergence(), GRINS::Simulation::run(), GRINS::SteadySolver::solve(), and GRINS::SteadyMeshAdaptiveSolver::solve().
std::tr1::shared_ptr<libMesh::EquationSystems> GRINS::SolverContext::equation_system |
Definition at line 57 of file solver_context.h.
Referenced by GRINS::SteadySolver::forward_qoi_parameter_sensitivity(), GRINS::SteadyMeshAdaptiveSolver::forward_qoi_parameter_sensitivity(), GRINS::Simulation::run(), GRINS::SteadySolver::solve(), GRINS::UnsteadySolver::solve(), GRINS::DisplacementContinuationSolver::solve(), and GRINS::SteadyMeshAdaptiveSolver::solve().
std::tr1::shared_ptr<libMesh::ErrorEstimator> GRINS::SolverContext::error_estimator |
Definition at line 73 of file solver_context.h.
Referenced by GRINS::Simulation::run(), and GRINS::SteadyMeshAdaptiveSolver::solve().
bool GRINS::SolverContext::output_adjoint |
Definition at line 62 of file solver_context.h.
Referenced by GRINS::Simulation::run(), GRINS::SteadySolver::solve(), and GRINS::SteadyMeshAdaptiveSolver::solve().
bool GRINS::SolverContext::output_residual |
Definition at line 63 of file solver_context.h.
Referenced by GRINS::Simulation::run(), GRINS::SteadySolver::solve(), GRINS::UnsteadySolver::solve(), and GRINS::SteadyMeshAdaptiveSolver::solve().
bool GRINS::SolverContext::output_residual_sensitivities |
Definition at line 64 of file solver_context.h.
Referenced by GRINS::SteadySolver::forward_qoi_parameter_sensitivity(), GRINS::SteadyMeshAdaptiveSolver::forward_qoi_parameter_sensitivity(), and GRINS::Simulation::run().
bool GRINS::SolverContext::output_solution_sensitivities |
Definition at line 65 of file solver_context.h.
Referenced by GRINS::SteadySolver::forward_qoi_parameter_sensitivity(), GRINS::SteadyMeshAdaptiveSolver::forward_qoi_parameter_sensitivity(), and GRINS::Simulation::run().
bool GRINS::SolverContext::output_vis |
Definition at line 61 of file solver_context.h.
Referenced by GRINS::Simulation::run(), GRINS::SteadySolver::solve(), GRINS::DisplacementContinuationSolver::solve(), GRINS::UnsteadySolver::solve(), and GRINS::SteadyMeshAdaptiveSolver::solve().
std::tr1::shared_ptr<PostProcessedQuantities<libMesh::Real> > GRINS::SolverContext::postprocessing |
Definition at line 71 of file solver_context.h.
Referenced by GRINS::Simulation::run(), GRINS::SteadySolver::solve(), GRINS::DisplacementContinuationSolver::solve(), GRINS::UnsteadySolver::solve(), and GRINS::SteadyMeshAdaptiveSolver::solve().
bool GRINS::SolverContext::print_perflog |
Definition at line 66 of file solver_context.h.
Referenced by GRINS::Simulation::run(), and GRINS::UnsteadySolver::solve().
bool GRINS::SolverContext::print_qoi |
Definition at line 68 of file solver_context.h.
Referenced by GRINS::Simulation::run(), and GRINS::SteadyMeshAdaptiveSolver::solve().
bool GRINS::SolverContext::print_scalars |
Definition at line 67 of file solver_context.h.
Referenced by GRINS::Simulation::run(), GRINS::SteadySolver::solve(), and GRINS::UnsteadySolver::solve().
GRINS::MultiphysicsSystem* GRINS::SolverContext::system |
Definition at line 54 of file solver_context.h.
Referenced by GRINS::SteadySolver::adjoint_qoi_parameter_sensitivity(), GRINS::SteadyMeshAdaptiveSolver::adjoint_qoi_parameter_sensitivity(), GRINS::SteadySolver::forward_qoi_parameter_sensitivity(), GRINS::SteadyMeshAdaptiveSolver::forward_qoi_parameter_sensitivity(), GRINS::Simulation::run(), GRINS::SteadySolver::solve(), GRINS::UnsteadySolver::solve(), GRINS::DisplacementContinuationSolver::solve(), GRINS::SteadyMeshAdaptiveSolver::solve(), and GRINS::Solver::steady_adjoint_solve().
unsigned int GRINS::SolverContext::timesteps_per_perflog |
Definition at line 60 of file solver_context.h.
Referenced by GRINS::Simulation::run(), and GRINS::UnsteadySolver::solve().
unsigned int GRINS::SolverContext::timesteps_per_vis |
Definition at line 59 of file solver_context.h.
Referenced by GRINS::Simulation::run(), and GRINS::UnsteadySolver::solve().
std::tr1::shared_ptr<GRINS::Visualization> GRINS::SolverContext::vis |
Definition at line 58 of file solver_context.h.
Referenced by GRINS::SteadySolver::forward_qoi_parameter_sensitivity(), GRINS::SteadyMeshAdaptiveSolver::forward_qoi_parameter_sensitivity(), GRINS::Simulation::run(), GRINS::SteadySolver::solve(), GRINS::UnsteadySolver::solve(), GRINS::DisplacementContinuationSolver::solve(), and GRINS::SteadyMeshAdaptiveSolver::solve().