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));
119 std::pair<bool,Real> (* _bc_function) (
const System & system,
121 const std::string & var_name);
127 #endif // LIBMESH_KELLY_ERROR_ESTIMATOR_H 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.
virtual ~KellyErrorEstimator()=default
ErrorEstimatorType
Defines an enum for the different types of error estimators which are available.
This abstract base class implements utility functions for error estimators which are based on integra...
virtual void init_context(FEMContext &c) override
An initialization function, for requesting specific data from the FE objects.
KellyErrorEstimator & operator=(const KellyErrorEstimator &)=delete
The libMesh namespace provides an interface to certain functionality in the library.
Number fptr(const Point &p, const Parameters &, const std::string &libmesh_dbg_var(sys_name), const std::string &unknown_name)
virtual void internal_side_integration() override
The function which calculates a normal derivative jump based error term on an internal side...
Manages consistently variables, degrees of freedom, and coefficient vectors.
This class provides all data required for a physics package (e.g.
KellyErrorEstimator()
Constructor.
This class implements the Kelly error indicator which is based on the flux jumps between elements...
virtual bool boundary_side_integration() override
The function which calculates a normal derivative jump based error term on a boundary side...
A Point defines a location in LIBMESH_DIM dimensional Real space.
virtual ErrorEstimatorType type() const override