20 #ifndef LIBMESH_EXACT_ERROR_ESTIMATOR_H 21 #define LIBMESH_EXACT_ERROR_ESTIMATOR_H 101 const std::string & sys_name,
102 const std::string & unknown_name);
124 const std::string & sys_name,
125 const std::string & unknown_name);
147 const std::string & sys_name,
148 const std::string & unknown_name);
183 bool estimate_parent_error =
false)
override;
235 const std::string & var_name,
255 #endif // LIBMESH_EXACT_ERROR_ESTIMATOR_H HessianFunctionPointer _exact_hessian
Manages multiples systems of equations.
void attach_exact_hessian(unsigned int sys_num, FunctionBase< Tensor > *h)
std::vector< std::unique_ptr< FunctionBase< Tensor > > > _exact_hessians
void attach_exact_hessians(std::vector< FunctionBase< Tensor > *> h)
The base class for all geometric element types.
void extra_quadrature_order(const int extraorder)
ValueFunctionPointer _exact_value
void attach_exact_value(unsigned int sys_num, FunctionBase< Number > *f)
std::vector< std::unique_ptr< FunctionBase< Gradient > > > _exact_derivs
virtual void estimate_error(const System &system, ErrorVector &error_per_cell, const NumericVector< Number > *solution_vector=nullptr, bool estimate_parent_error=false) override
virtual ErrorEstimatorType type() const override
Tensor(* HessianFunctionPointer)(const Point &p, const Parameters ¶meters, const std::string &sys_name, const std::string &unknown_name)
virtual ~ExactErrorEstimator()=default
Manages consistently variables, degrees of freedom, and coefficient vectors.
NumberVectorValue Gradient
FEGenericBase< Real > FEBase
void attach_exact_derivs(std::vector< FunctionBase< Gradient > *> g)
Gradient(* GradientFunctionPointer)(const Point &p, const Parameters ¶meters, const std::string &sys_name, const std::string &unknown_name)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
GradientFunctionPointer _exact_deriv
EquationSystems * _equation_systems_fine
Number(* ValueFunctionPointer)(const Point &p, const Parameters &Parameters, const std::string &sys_name, const std::string &unknown_name)
Real find_squared_element_error(const System &system, const std::string &var_name, const Elem *elem, const DenseVector< Number > &Uelem, FEBase *fe, MeshFunction *fine_values) const
void attach_exact_values(std::vector< FunctionBase< Number > *> f)
void attach_reference_solution(EquationSystems *es_fine)
void attach_exact_deriv(unsigned int sys_num, FunctionBase< Gradient > *g)
A geometric point in (x,y,z) space.
ExactErrorEstimator & operator=(const ExactErrorEstimator &)=delete
std::vector< std::unique_ptr< FunctionBase< Number > > > _exact_values