#include <dune/pdelab/function/discretegridviewfunction.hh>
◆ Domain
template<typename GFS , typename V , int diffOrder = 0>
◆ Element
template<typename GFS , typename V , int diffOrder = 0>
◆ GlobalFunction
template<typename GFS , typename V , int diffOrder = 0>
◆ Range
template<typename GFS , typename V , int diffOrder = 0>
◆ size_type
template<typename GFS , typename V , int diffOrder = 0>
◆ LocalFunction()
template<typename GFS , typename V , int diffOrder = 0>
◆ bind()
template<typename GFS , typename V , int diffOrder = 0>
Bind LocalFunction to grid element.
You must call this method before evaluate() and after changes to the coefficient vector.
◆ localContext()
template<typename GFS , typename V , int diffOrder = 0>
◆ operator()()
template<typename GFS , typename V , int diffOrder = 0>
Evaluate LocalFunction at bound element.
The result of this method is undefined if you did not call bind() beforehand or changed the coefficient vector after the last call to bind(). In the latter case you have to call bind() again in order to make operator() usable.
◆ unbind()
template<typename GFS , typename V , int diffOrder = 0>
◆ derivative
template<typename GFS , typename V , int diffOrder = 0>
free function to obtain the derivative of a LocalFunction
This free function will be found by ADL.
It returns an other LocalFunction, which represents the derivative of parameter t. The returned object has always all derivatives. In particular this means that:
- derivative(lf) yields the jacobian
- derivative(derivative(lf)) yields the hessian
- Todo:
- do we really want to return a bound object?
- Note
- if t is in bound state, the derivative will be bound as well.
- Parameters
-
t | local function we want to differentiate |
◆ element_
template<typename GFS , typename V , int diffOrder = 0>
◆ lfs_
template<typename GFS , typename V , int diffOrder = 0>
◆ lfs_cache_
template<typename GFS , typename V , int diffOrder = 0>
◆ pgfs_
template<typename GFS , typename V , int diffOrder = 0>
◆ v_
template<typename GFS , typename V , int diffOrder = 0>
◆ x_view_
template<typename GFS , typename V , int diffOrder = 0>
◆ xl_
template<typename GFS , typename V , int diffOrder = 0>
◆ yb_
template<typename GFS , typename V , int diffOrder = 0>
The documentation for this class was generated from the following file: