GRINS-0.8.0
|
#include <steady_mesh_adaptive_solver.h>
Public Member Functions | |
SteadyMeshAdaptiveSolver (const GetPot &input) | |
virtual | ~SteadyMeshAdaptiveSolver () |
virtual void | solve (SolverContext &context) |
virtual void | adjoint_qoi_parameter_sensitivity (SolverContext &context, const libMesh::QoISet &qoi_indices, const libMesh::ParameterVector ¶meters_in, libMesh::SensitivityData &sensitivities) const |
virtual void | forward_qoi_parameter_sensitivity (SolverContext &context, const libMesh::QoISet &qoi_indices, const libMesh::ParameterVector ¶meters_in, libMesh::SensitivityData &sensitivities) const |
Public Member Functions inherited from GRINS::Solver | |
Solver (const GetPot &input) | |
virtual | ~Solver () |
virtual void | initialize (const GetPot &input, SharedPtr< libMesh::EquationSystems > equation_system, GRINS::MultiphysicsSystem *system) |
void | steady_adjoint_solve (SolverContext &context) |
Do steady version of adjoint solve. More... | |
void | print_scalar_vars (SolverContext &context) |
void | print_qoi (SolverContext &context) |
Public Member Functions inherited from GRINS::MeshAdaptiveSolverBase | |
MeshAdaptiveSolverBase (const GetPot &input) | |
virtual | ~MeshAdaptiveSolverBase () |
Protected Member Functions | |
virtual void | init_time_solver (MultiphysicsSystem *system) |
void | check_qoi_error_option_consistency (SolverContext &context) |
Protected Member Functions inherited from GRINS::Solver | |
void | set_solver_options (libMesh::DiffSolver &solver) |
Protected Member Functions inherited from GRINS::MeshAdaptiveSolverBase | |
void | build_mesh_refinement (libMesh::MeshBase &mesh) |
void | set_refinement_type (const GetPot &input, const MeshAdaptivityOptions &mesh_adaptivity_options, RefinementFlaggingType &refinement_type) |
bool | check_for_convergence (SolverContext &context, const libMesh::ErrorVector &error) const |
void | flag_elements_for_refinement (const libMesh::ErrorVector &error) |
void | estimate_error_for_amr (SolverContext &context, libMesh::ErrorVector &error) |
void | perform_amr (SolverContext &context, const libMesh::ErrorVector &error) |
Additional Inherited Members | |
Protected Types inherited from GRINS::MeshAdaptiveSolverBase | |
enum | RefinementFlaggingType { INVALID = 0, ERROR_TOLERANCE, N_ELEM_TARGET, ERROR_FRACTION, ELEM_FRACTION, MEAN_STD_DEV } |
Protected Attributes inherited from GRINS::Solver | |
unsigned int | _max_nonlinear_iterations |
double | _relative_step_tolerance |
double | _absolute_step_tolerance |
double | _relative_residual_tolerance |
double | _absolute_residual_tolerance |
double | _initial_linear_tolerance |
double | _minimum_linear_tolerance |
unsigned int | _max_linear_iterations |
bool | _continue_after_backtrack_failure |
bool | _continue_after_max_iterations |
bool | _require_residual_reduction |
bool | _solver_quiet |
bool | _solver_verbose |
Protected Attributes inherited from GRINS::MeshAdaptiveSolverBase | |
ErrorEstimatorOptions | _error_estimator_options |
MeshAdaptivityOptions | _mesh_adaptivity_options |
RefinementFlaggingType | _refinement_type |
libMesh::UniquePtr< libMesh::MeshRefinement > | _mesh_refinement |
Definition at line 38 of file steady_mesh_adaptive_solver.h.
GRINS::SteadyMeshAdaptiveSolver::SteadyMeshAdaptiveSolver | ( | const GetPot & | input | ) |
Definition at line 44 of file steady_mesh_adaptive_solver.C.
|
virtual |
Definition at line 51 of file steady_mesh_adaptive_solver.C.
|
virtual |
Reimplemented from GRINS::Solver.
Definition at line 164 of file steady_mesh_adaptive_solver.C.
References GRINS::SolverContext::system.
|
protected |
Definition at line 65 of file steady_mesh_adaptive_solver.C.
References GRINS::MeshAdaptiveSolverBase::_error_estimator_options, GRINS::ErrorEstimatorOptions::compute_qoi_error_estimate(), and GRINS::SolverContext::error_estimator.
Referenced by solve().
|
virtual |
Reimplemented from GRINS::Solver.
Definition at line 174 of file steady_mesh_adaptive_solver.C.
References GRINS::SolverContext::equation_system, GRINS::SolverContext::output_residual_sensitivities, GRINS::SolverContext::output_solution_sensitivities, GRINS::SolverContext::system, and GRINS::SolverContext::vis.
|
protectedvirtual |
Implements GRINS::Solver.
Definition at line 56 of file steady_mesh_adaptive_solver.C.
|
virtual |
Implements GRINS::Solver.
Definition at line 79 of file steady_mesh_adaptive_solver.C.
References GRINS::MeshAdaptiveSolverBase::_error_estimator_options, GRINS::MeshAdaptiveSolverBase::_mesh_adaptivity_options, GRINS::MeshAdaptiveSolverBase::build_mesh_refinement(), GRINS::MeshAdaptiveSolverBase::check_for_convergence(), check_qoi_error_option_consistency(), GRINS::ErrorEstimatorOptions::compute_qoi_error_estimate(), GRINS::SolverContext::do_adjoint_solve, GRINS::SolverContext::equation_system, GRINS::SolverContext::error_estimator, GRINS::MeshAdaptiveSolverBase::estimate_error_for_amr(), GRINS::MeshAdaptivityOptions::max_refinement_steps(), GRINS::SolverContext::output_adjoint, GRINS::SolverContext::output_residual, GRINS::SolverContext::output_vis, GRINS::MeshAdaptiveSolverBase::perform_amr(), GRINS::SolverContext::postprocessing, GRINS::Solver::print_qoi(), GRINS::SolverContext::qoi_output, GRINS::Solver::steady_adjoint_solve(), GRINS::SolverContext::system, and GRINS::SolverContext::vis.