GRINS-0.6.0
|
#include <displacement_continuation_solver.h>
Public Member Functions | |
DisplacementContinuationSolver (const GetPot &input) | |
virtual | ~DisplacementContinuationSolver () |
virtual void | initialize (const GetPot &input, std::tr1::shared_ptr< libMesh::EquationSystems > equation_system, GRINS::MultiphysicsSystem *system) |
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 |
void | steady_adjoint_solve (SolverContext &context) |
Do steady version of adjoint solve. More... | |
Protected Member Functions | |
void | increment_displacement (GRINS::MultiphysicsSystem &system, libMesh::EquationSystems &equation_system, const libMesh::Real displacement) |
virtual void | init_time_solver (GRINS::MultiphysicsSystem *system) |
void | set_solver_options (libMesh::DiffSolver &solver) |
Protected Attributes | |
libMesh::boundary_id_type | _bc_id |
Boundary on which we want to increment the displacement. More... | |
unsigned int | _bc_index |
Cache index into libMesh::DirichletBoundaries. More... | |
std::vector< libMesh::Real > | _displacements |
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 | _solver_quiet |
bool | _solver_verbose |
std::map< std::string, GRINS::NBCContainer > | _neumann_bc_funcs |
Definition at line 33 of file displacement_continuation_solver.h.
GRINS::DisplacementContinuationSolver::DisplacementContinuationSolver | ( | const GetPot & | input | ) |
Definition at line 42 of file displacement_continuation_solver.C.
References _displacements.
|
virtual |
Definition at line 82 of file displacement_continuation_solver.C.
|
virtualinherited |
Reimplemented from GRINS::Solver.
Definition at line 113 of file grins_steady_solver.C.
References GRINS::SolverContext::system.
|
virtualinherited |
Reimplemented from GRINS::Solver.
Definition at line 123 of file grins_steady_solver.C.
References GRINS::SolverContext::equation_system, GRINS::SolverContext::output_residual_sensitivities, GRINS::SolverContext::output_solution_sensitivities, GRINS::SolverContext::system, and GRINS::SolverContext::vis.
|
protected |
Definition at line 144 of file displacement_continuation_solver.C.
References _bc_index.
Referenced by solve().
|
protectedvirtualinherited |
Implements GRINS::Solver.
Definition at line 54 of file grins_steady_solver.C.
|
virtual |
Reimplemented from GRINS::Solver.
Definition at line 87 of file displacement_continuation_solver.C.
References _bc_id, _bc_index, and GRINS::Solver::initialize().
|
protectedinherited |
Definition at line 87 of file grins_solver.C.
References GRINS::Solver::_absolute_residual_tolerance, GRINS::Solver::_absolute_step_tolerance, GRINS::Solver::_continue_after_backtrack_failure, GRINS::Solver::_continue_after_max_iterations, GRINS::Solver::_initial_linear_tolerance, GRINS::Solver::_max_linear_iterations, GRINS::Solver::_max_nonlinear_iterations, GRINS::Solver::_minimum_linear_tolerance, GRINS::Solver::_relative_residual_tolerance, GRINS::Solver::_relative_step_tolerance, GRINS::Solver::_solver_quiet, and GRINS::Solver::_solver_verbose.
Referenced by GRINS::Solver::initialize().
|
virtual |
Reimplemented from GRINS::SteadySolver.
Definition at line 119 of file displacement_continuation_solver.C.
References _displacements, GRINS::SolverContext::equation_system, increment_displacement(), GRINS::SolverContext::output_vis, GRINS::SolverContext::postprocessing, GRINS::SolverContext::system, and GRINS::SolverContext::vis.
|
inherited |
Do steady version of adjoint solve.
We put this here since we may want to reuse this in multiple different steady solves.
Definition at line 105 of file grins_solver.C.
References GRINS::SolverContext::system.
Referenced by GRINS::SteadySolver::solve(), and GRINS::SteadyMeshAdaptiveSolver::solve().
|
protectedinherited |
Definition at line 103 of file grins_solver.h.
Referenced by GRINS::Solver::set_solver_options().
|
protectedinherited |
Definition at line 96 of file grins_solver.h.
Referenced by GRINS::Solver::set_solver_options().
|
protected |
Boundary on which we want to increment the displacement.
Definition at line 53 of file displacement_continuation_solver.h.
Referenced by initialize().
|
protected |
Cache index into libMesh::DirichletBoundaries.
libMesh::DirichletBoundaries subclasses std::vector. So, we cache the index to the particular libMesh::DirichletBoundary we want. This way, we search at the beginning and reuse.
Definition at line 61 of file displacement_continuation_solver.h.
Referenced by increment_displacement(), and initialize().
|
protectedinherited |
Definition at line 107 of file grins_solver.h.
Referenced by GRINS::Solver::set_solver_options().
|
protectedinherited |
Definition at line 108 of file grins_solver.h.
Referenced by GRINS::Solver::set_solver_options().
|
protected |
Definition at line 63 of file displacement_continuation_solver.h.
Referenced by DisplacementContinuationSolver(), and solve().
|
protectedinherited |
Definition at line 104 of file grins_solver.h.
Referenced by GRINS::Solver::set_solver_options().
|
protectedinherited |
Definition at line 106 of file grins_solver.h.
Referenced by GRINS::Solver::set_solver_options().
|
protectedinherited |
Definition at line 94 of file grins_solver.h.
Referenced by GRINS::Solver::set_solver_options().
|
protectedinherited |
Definition at line 105 of file grins_solver.h.
Referenced by GRINS::Solver::set_solver_options().
|
protectedinherited |
Definition at line 117 of file grins_solver.h.
|
protectedinherited |
Definition at line 101 of file grins_solver.h.
Referenced by GRINS::Solver::set_solver_options().
|
protectedinherited |
Definition at line 95 of file grins_solver.h.
Referenced by GRINS::Solver::set_solver_options().
|
protectedinherited |
Definition at line 111 of file grins_solver.h.
Referenced by GRINS::Solver::set_solver_options().
|
protectedinherited |
Definition at line 112 of file grins_solver.h.
Referenced by GRINS::Solver::set_solver_options().