GRINS-0.8.0
|
#include <mesh_adaptive_solver_base.h>
Public Member Functions | |
MeshAdaptiveSolverBase (const GetPot &input) | |
virtual | ~MeshAdaptiveSolverBase () |
Protected Types | |
enum | RefinementFlaggingType { INVALID = 0, ERROR_TOLERANCE, N_ELEM_TARGET, ERROR_FRACTION, ELEM_FRACTION, MEAN_STD_DEV } |
Protected Member Functions | |
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) |
Protected Attributes | |
ErrorEstimatorOptions | _error_estimator_options |
MeshAdaptivityOptions | _mesh_adaptivity_options |
RefinementFlaggingType | _refinement_type |
libMesh::UniquePtr< libMesh::MeshRefinement > | _mesh_refinement |
Private Member Functions | |
MeshAdaptiveSolverBase () | |
Definition at line 52 of file mesh_adaptive_solver_base.h.
|
protected |
Enumerator | |
---|---|
INVALID | |
ERROR_TOLERANCE | |
N_ELEM_TARGET | |
ERROR_FRACTION | |
ELEM_FRACTION | |
MEAN_STD_DEV |
Definition at line 65 of file mesh_adaptive_solver_base.h.
GRINS::MeshAdaptiveSolverBase::MeshAdaptiveSolverBase | ( | const GetPot & | input | ) |
Definition at line 40 of file mesh_adaptive_solver_base.C.
References _mesh_adaptivity_options, _refinement_type, and set_refinement_type().
|
inlinevirtual |
Definition at line 58 of file mesh_adaptive_solver_base.h.
|
private |
|
protected |
Definition at line 48 of file mesh_adaptive_solver_base.C.
References _mesh_adaptivity_options, _mesh_refinement, GRINS::MeshAdaptivityOptions::absolute_global_tolerance(), GRINS::MeshAdaptivityOptions::coarsen_by_parents(), GRINS::MeshAdaptivityOptions::coarsen_fraction(), GRINS::MeshAdaptivityOptions::coarsen_threshold(), GRINS::MeshAdaptivityOptions::edge_level_mismatch_limit(), GRINS::MeshAdaptivityOptions::enforce_mismatch_limit_prior_to_refinement(), GRINS::MeshAdaptivityOptions::face_level_mismatch_limit(), GRINS::MeshAdaptivityOptions::max_h_level(), GRINS::MeshAdaptivityOptions::nelem_target(), GRINS::MeshAdaptivityOptions::node_level_mismatch_limit(), and GRINS::MeshAdaptivityOptions::refine_fraction().
Referenced by GRINS::SteadyMeshAdaptiveSolver::solve(), and GRINS::UnsteadyMeshAdaptiveSolver::solve().
|
protected |
Definition at line 120 of file mesh_adaptive_solver_base.C.
References _mesh_adaptivity_options, GRINS::MeshAdaptivityOptions::absolute_global_tolerance(), and GRINS::SolverContext::do_adjoint_solve.
Referenced by GRINS::SteadyMeshAdaptiveSolver::solve(), and GRINS::UnsteadyMeshAdaptiveSolver::solve().
|
protected |
Definition at line 205 of file mesh_adaptive_solver_base.C.
References _mesh_adaptivity_options, GRINS::SolverContext::equation_system, GRINS::SolverContext::error_estimator, GRINS::MeshAdaptivityOptions::error_plot_prefix(), GRINS::MeshAdaptivityOptions::plot_cell_errors(), and GRINS::SolverContext::system.
Referenced by GRINS::SteadyMeshAdaptiveSolver::solve(), and GRINS::UnsteadyMeshAdaptiveSolver::solve().
|
protected |
Definition at line 153 of file mesh_adaptive_solver_base.C.
References _mesh_refinement, _refinement_type, ELEM_FRACTION, ERROR_FRACTION, ERROR_TOLERANCE, INVALID, MEAN_STD_DEV, and N_ELEM_TARGET.
Referenced by perform_amr().
|
protected |
Definition at line 221 of file mesh_adaptive_solver_base.C.
References _mesh_refinement, GRINS::SolverContext::equation_system, flag_elements_for_refinement(), and GRINS::SolverContext::system.
Referenced by GRINS::SteadyMeshAdaptiveSolver::solve(), and GRINS::UnsteadyMeshAdaptiveSolver::solve().
|
protected |
Definition at line 64 of file mesh_adaptive_solver_base.C.
References ELEM_FRACTION, ERROR_FRACTION, ERROR_TOLERANCE, MEAN_STD_DEV, N_ELEM_TARGET, and GRINS::MeshAdaptivityOptions::refinement_strategy().
Referenced by MeshAdaptiveSolverBase().
|
protected |
Definition at line 62 of file mesh_adaptive_solver_base.h.
Referenced by GRINS::SteadyMeshAdaptiveSolver::check_qoi_error_option_consistency(), and GRINS::SteadyMeshAdaptiveSolver::solve().
|
protected |
Definition at line 63 of file mesh_adaptive_solver_base.h.
Referenced by build_mesh_refinement(), check_for_convergence(), estimate_error_for_amr(), MeshAdaptiveSolverBase(), GRINS::UnsteadyMeshAdaptiveSolver::solve(), and GRINS::SteadyMeshAdaptiveSolver::solve().
|
protected |
Definition at line 74 of file mesh_adaptive_solver_base.h.
Referenced by build_mesh_refinement(), flag_elements_for_refinement(), and perform_amr().
|
protected |
Definition at line 72 of file mesh_adaptive_solver_base.h.
Referenced by flag_elements_for_refinement(), and MeshAdaptiveSolverBase().