AMDiS 2.10
The Adaptive Multi-Dimensional Simulation Toolbox
DiscreteFunction< Coeff, GB, TreePath, R >::LocalFunction< Type > Class Template Reference

Public Types

using Domain = typename EntitySet::LocalCoordinate
 
using Range = DerivativeRange< Type >
 

Public Member Functions

template<class LV , REQUIRES(Concepts::Similar< LV, LocalView >) >
 LocalFunction (LV &&localView, TP const &treePath, std::shared_ptr< C const > coefficients, Type type)
 Constructor. Stores a copy of the DiscreteFunction.
 
void bind (Element const &element)
 Bind the LocalView to the element.
 
void unbind ()
 Unbind the LocalView from the element.
 
bool bound () const
 Check whether this localfunction is bound to an element.
 
Range operator() (const Domain &local) const
 Evaluate LocalFunction at bound element in local coordinates.
 
template<class DerType >
LocalFunction< DerType > makeDerivative (DerType type) const
 Create a LocalFunction representing the derivative.
 
auto order () const -> decltype(AMDiS::order(std::declval< SubTree >()))
 The polynomial degree of the LocalFunctions basis-functions.
 
Element const & localContext () const
 Return the bound element.
 

The documentation for this class was generated from the following file: