AMDiS  0.1
The Adaptive Multi-Dimensional Simulation Toolbox
DiscreteFunction< Coeff, GB, TreePath >::LocalFunction Class Reference

Public Types

using Domain = typename EntitySet::LocalCoordinate
 
using Range = typename DiscreteFunction::Range
 

Public Member Functions

 LocalFunction (DiscreteFunction const &globalFunction)
 Constructor. Stores a copy of the DiscreteFunction.
 
 LocalFunction (LocalFunction const &other)
 Copy constructor.
 
void bind (Element const &element)
 Bind the LocalView to the element.
 
void unbind ()
 Unbind the LocalView from the element.
 
Range operator() (Domain const &x) const
 Evaluate LocalFunction at bound element in local coordinates.
 
DivergenceLocalFunction makeDerivative (tag::divergence type) const
 
PartialLocalFunction makeDerivative (tag::partial type) const
 
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.
 

Related Functions

(Note that these are not member functions.)

GradientLocalFunction makeDerivative (tag::gradient type) const
 Create a LocalFunction representing the gradient. More...
 

Friends And Related Function Documentation

◆ makeDerivative()

GradientLocalFunction makeDerivative ( tag::gradient  type) const
related

Create a LocalFunction representing the gradient.


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