29 #include "libmesh/patch_recovery_error_estimator.h"
35 libMesh::AdjointResidualErrorEstimator& estimator )
37 libMesh::PatchRecoveryErrorEstimator*
38 p1 =
new libMesh::PatchRecoveryErrorEstimator;
40 estimator.primal_error_estimator().reset( p1 );
42 libMesh::PatchRecoveryErrorEstimator*
43 p2 =
new libMesh::PatchRecoveryErrorEstimator;
45 estimator.dual_error_estimator().reset( p2 );
48 estimator.primal_error_estimator()->error_norm.set_type( 0, libMesh::H1_SEMINORM );
49 p1->set_patch_reuse( patch_reuse );
51 estimator.dual_error_estimator()->error_norm.set_type( 0, libMesh::H1_SEMINORM );
52 p2->set_patch_reuse( patch_reuse );
57 libMesh::AdjointRefinementEstimator& estimator )
virtual void set_adjoint_estimator_options(const GetPot &input, const ErrorEstimatorOptions &estimator_options, libMesh::AdjointResidualErrorEstimator &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.