20#ifndef LIBMESH_KELLY_ERROR_ESTIMATOR_H
21#define LIBMESH_KELLY_ERROR_ESTIMATOR_H
24#include "libmesh/jump_error_estimator.h"
89 const std::string & var_name));
121 const std::string & var_name);
This class provides all data required for a physics package (e.g.
This abstract base class implements utility functions for error estimators which are based on integra...
This class implements the Kelly error indicator which is based on the flux jumps between elements.
virtual void internal_side_integration() override
The function which calculates a normal derivative jump based error term on an internal side.
std::pair< bool, Real >(* _bc_function)(const System &system, const Point &p, const std::string &var_name)
Pointer to function that provides BC information.
virtual bool boundary_side_integration() override
The function which calculates a normal derivative jump based error term on a boundary side.
virtual ErrorEstimatorType type() const override
void attach_flux_bc_function(std::pair< bool, Real > fptr(const System &system, const Point &p, const std::string &var_name))
Register a user function to use in computing the flux BCs.
KellyErrorEstimator()
Constructor.
KellyErrorEstimator & operator=(const KellyErrorEstimator &)=delete
virtual ~KellyErrorEstimator()=default
KellyErrorEstimator(KellyErrorEstimator &&)=default
Defaulted move ctor, move assignment operator, and destructor.
virtual void init_context(FEMContext &c) override
An initialization function, for requesting specific data from the FE objects.
KellyErrorEstimator(const KellyErrorEstimator &)=delete
This class cannot be (default) copy constructed/assigned because its base class has unique_ptr member...
A Point defines a location in LIBMESH_DIM dimensional Real space.
Manages consistently variables, degrees of freedom, and coefficient vectors.
The libMesh namespace provides an interface to certain functionality in the library.
ErrorEstimatorType
Defines an enum for the different types of error estimators which are available.
Number fptr(const Point &p, const Parameters &, const std::string &libmesh_dbg_var(sys_name), const std::string &unknown_name)