dune-functions 2.9.0
Classes | Public Types | Public Member Functions | Protected Attributes | Friends | List of all members
Dune::Functions::DiscreteGlobalBasisFunctionDerivative< DGBF > Class Template Reference

Derivative of a DiscreteGlobalBasisFunction More...

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

Inheritance diagram for Dune::Functions::DiscreteGlobalBasisFunctionDerivative< DGBF >:
Inheritance graph

Classes

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

Public Types

using DiscreteGlobalBasisFunction = DGBF
 
using Basis = typename Base::Basis
 
using Vector = typename Base::Vector
 
using Domain = typename Base::Domain
 
using Range = typename SignatureTraits< typename DiscreteGlobalBasisFunction::Traits::DerivativeInterface >::Range
 
using Traits = Imp::GridFunctionTraits< Range(Domain), typename Base::EntitySet, DefaultDerivativeTraits, 16 >
 
using Coefficient = Dune::AutonomousValue< decltype(std::declval< Vector >()[std::declval< typename Basis::MultiIndex >()])>
 
using GridView = typename Basis::GridView
 
using EntitySet = GridViewEntitySet< GridView, 0 >
 
using Tree = typename Basis::LocalView::Tree
 
using NodeToRangeEntry = DGBF::NodeToRangeEntry
 
using LocalDomain = typename EntitySet::LocalCoordinate
 
using Element = typename EntitySet::Element
 

Public Member Functions

 DiscreteGlobalBasisFunctionDerivative (const std::shared_ptr< const Data > &data)
 create object from DiscreateGlobalBasisFunction data More...
 
Range operator() (const Domain &x) const
 Not implemented. More...
 
const Basisbasis () const
 Return a const reference to the stored basis. More...
 
const Vectordofs () const
 Return the coefficients of this discrete function by reference. More...
 
const NodeToRangeEntrynodeToRangeEntry () const
 Return the stored node-to-range map. More...
 
const EntitySetentitySet () const
 Get associated set of entities the local-function can be bound to. More...
 

Protected Attributes

std::shared_ptr< const Data > data_
 

Friends

Traits::DerivativeInterface derivative (const DiscreteGlobalBasisFunctionDerivative &f)
 
LocalFunction localFunction (const DiscreteGlobalBasisFunctionDerivative &f)
 Construct local function from a DiscreteGlobalBasisFunctionDerivative More...
 

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

Member Typedef Documentation

◆ Basis

template<typename DGBF >
using Dune::Functions::DiscreteGlobalBasisFunctionDerivative< DGBF >::Basis = typename Base::Basis

◆ Coefficient

using Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase< DGBF::Basis , DGBF::Vector , DGBF::NodeToRangeEntry >::Coefficient = Dune::AutonomousValue<decltype(std::declval<Vector>()[std::declval<typename Basis::MultiIndex>()])>
inherited

◆ DiscreteGlobalBasisFunction

template<typename DGBF >
using Dune::Functions::DiscreteGlobalBasisFunctionDerivative< DGBF >::DiscreteGlobalBasisFunction = DGBF

◆ Domain

template<typename DGBF >
using Dune::Functions::DiscreteGlobalBasisFunctionDerivative< DGBF >::Domain = typename Base::Domain

◆ Element

using Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase< DGBF::Basis , DGBF::Vector , DGBF::NodeToRangeEntry >::Element = typename EntitySet::Element
inherited

◆ EntitySet

using Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase< DGBF::Basis , DGBF::Vector , DGBF::NodeToRangeEntry >::EntitySet = GridViewEntitySet<GridView, 0>
inherited

◆ GridView

using Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase< DGBF::Basis , DGBF::Vector , DGBF::NodeToRangeEntry >::GridView = typename Basis::GridView
inherited

◆ LocalDomain

using Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase< DGBF::Basis , DGBF::Vector , DGBF::NodeToRangeEntry >::LocalDomain = typename EntitySet::LocalCoordinate
inherited

◆ NodeToRangeEntry

using Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase< DGBF::Basis , DGBF::Vector , DGBF::NodeToRangeEntry >::NodeToRangeEntry = DGBF::NodeToRangeEntry
inherited

◆ Range

◆ Traits

template<typename DGBF >
using Dune::Functions::DiscreteGlobalBasisFunctionDerivative< DGBF >::Traits = Imp::GridFunctionTraits<Range(Domain), typename Base::EntitySet, DefaultDerivativeTraits, 16>

◆ Tree

using Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase< DGBF::Basis , DGBF::Vector , DGBF::NodeToRangeEntry >::Tree = typename Basis::LocalView::Tree
inherited

◆ Vector

template<typename DGBF >
using Dune::Functions::DiscreteGlobalBasisFunctionDerivative< DGBF >::Vector = typename Base::Vector

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

◆ basis()

const Basis & Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase< DGBF::Basis , DGBF::Vector , DGBF::NodeToRangeEntry >::basis ( ) const
inlineinherited

Return a const reference to the stored basis.

◆ dofs()

const Vector & Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase< DGBF::Basis , DGBF::Vector , DGBF::NodeToRangeEntry >::dofs ( ) const
inlineinherited

Return the coefficients of this discrete function by reference.

◆ entitySet()

const EntitySet & Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase< DGBF::Basis , DGBF::Vector , DGBF::NodeToRangeEntry >::entitySet ( ) const
inlineinherited

Get associated set of entities the local-function can be bound to.

◆ nodeToRangeEntry()

const NodeToRangeEntry & Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase< DGBF::Basis , DGBF::Vector , DGBF::NodeToRangeEntry >::nodeToRangeEntry ( ) const
inlineinherited

Return the stored node-to-range map.

◆ operator()()

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

Not implemented.

Friends And Related Function Documentation

◆ derivative

template<typename DGBF >
Traits::DerivativeInterface derivative ( const DiscreteGlobalBasisFunctionDerivative< DGBF > &  f)
friend

◆ localFunction

template<typename DGBF >
LocalFunction localFunction ( const DiscreteGlobalBasisFunctionDerivative< DGBF > &  f)
friend

Construct local function from a DiscreteGlobalBasisFunctionDerivative

Member Data Documentation

◆ data_

std::shared_ptr<const Data> Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase< DGBF::Basis , DGBF::Vector , DGBF::NodeToRangeEntry >::data_
protectedinherited

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