30 #include "libmesh/patch_recovery_error_estimator.h"
36 libMesh::AdjointResidualErrorEstimator& estimator )
38 libMesh::PatchRecoveryErrorEstimator*
39 p1 =
new libMesh::PatchRecoveryErrorEstimator;
41 estimator.primal_error_estimator().reset( p1 );
43 libMesh::PatchRecoveryErrorEstimator*
44 p2 =
new libMesh::PatchRecoveryErrorEstimator;
46 estimator.dual_error_estimator().reset( p2 );
49 estimator.primal_error_estimator()->error_norm.set_type( 0, libMesh::H1_SEMINORM );
50 p1->set_patch_reuse( patch_reuse );
52 estimator.dual_error_estimator()->error_norm.set_type( 0, libMesh::H1_SEMINORM );
53 p2->set_patch_reuse( patch_reuse );
58 libMesh::AdjointRefinementEstimator& estimator )
AdjointRefinementErrorEstimatorFactory grins_factory_adjoint_refinement_estimator(StrategiesParsing::adjoint_refinement_error_estimator())
virtual void set_adjoint_estimator_options(const GetPot &input, const ErrorEstimatorOptions &estimator_options, libMesh::AdjointResidualErrorEstimator &estimator)
static std::string adjoint_residual_error_estimator()
AdjointResidualErrorEstimatorFactory grins_factory_adjoint_residual_estimator(StrategiesParsing::adjoint_residual_error_estimator())
unsigned char n_adjoint_p_refinements() const
unsigned char n_adjoint_h_refinements() const
virtual void set_adjoint_estimator_options(const GetPot &input, const ErrorEstimatorOptions &estimator_options, libMesh::AdjointRefinementEstimator &estimator)
Container for ErrorEstimator options.
static std::string adjoint_refinement_error_estimator()