DUNE PDELab (git)

Dune::Functions::DiscreteGlobalBasisFunctionDerivative< DGBF > Class Template Reference

Derivative of a DiscreteGlobalBasisFunction More...

#include <dune/functions/gridfunctions/discreteglobalbasisfunction.hh>

Classes

class  LocalFunction
 local function evaluating the derivative in reference coordinates More...
 

Public Member Functions

 DiscreteGlobalBasisFunctionDerivative (const std::shared_ptr< const Data > &data)
 create object from DiscreateGlobalBasisFunction data More...
 
Range operator() (const Domain &x) const
 Evaluate the discrete grid-function derivative in global coordinates. More...
 
const Basis & basis () const
 Return a const reference to the stored basis.
 
const Vector & dofs () const
 Return the coefficients of this discrete function by reference.
 
const NodeToRangeEntry & nodeToRangeEntry () const
 Return the stored node-to-range map.
 
const EntitySetentitySet () const
 Get associated set of entities the local-function can be bound to.
 

Friends

LocalFunction localFunction (const DiscreteGlobalBasisFunctionDerivative &f)
 Construct local function from a DiscreteGlobalBasisFunctionDerivative
 

Detailed Description

template<typename DGBF>
class Dune::Functions::DiscreteGlobalBasisFunctionDerivative< DGBF >

Derivative of a DiscreteGlobalBasisFunction

Function returning the derivative of the given DiscreteGlobalBasisFunction with respect to global coordinates.

The function handles the mapping of coefficient blocks and basis function values to range entries analogously to the DiscreteGlobalBasisFunction. This mapping is implemented with the same algorithm but with values replace by jacobian.

Template Parameters
DGBFinstance of the DiscreteGlobalBasisFunction this is a derivative of

Constructor & Destructor Documentation

◆ DiscreteGlobalBasisFunctionDerivative()

template<typename DGBF >
Dune::Functions::DiscreteGlobalBasisFunctionDerivative< DGBF >::DiscreteGlobalBasisFunctionDerivative ( const std::shared_ptr< const Data > &  data)
inline

create object from DiscreateGlobalBasisFunction data

Please call derivative(discreteGlobalBasisFunction) to create an instance of this class.

Member Function Documentation

◆ operator()()

template<typename DGBF >
Range Dune::Functions::DiscreteGlobalBasisFunctionDerivative< DGBF >::operator() ( const Domain &  x) const
inline

Evaluate the discrete grid-function derivative in global coordinates.

Warning
This has to find the element that the evaluation point is in. It is therefore very slow.

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 24, 23:30, 2024)