DUNE PDELab (git)

Dune::PDELab::GridFunctionToFunctionAdapter< GF > Class Template Reference

make a Function from a GridFunction More...

#include <dune/pdelab/common/function.hh>

Public Types

typedef FunctionTraits< typename GF::Traits::GridViewType::ctype, GF::Traits::GridViewType::dimensionworld, Dune::FieldVector< typename GF::Traits::GridViewType::ctype, GF::Traits::GridViewType::dimensionworld >, typename GF::Traits::RangeFieldType, GF::Traits::dimRange, Dune::FieldVector< typename GF::Traits::RangeFieldType, GF::Traits::dimRange > > Traits
 Export type traits.
 

Public Member Functions

 GridFunctionToFunctionAdapter (const GF &gf_)
 make a GridFunctionToFunctionAdapter
 
void evaluate (const typename Traits::DomainType &x, typename Traits::RangeType &y) const
 Evaluate all basis function at given position. More...
 

Detailed Description

template<typename GF>
class Dune::PDELab::GridFunctionToFunctionAdapter< GF >

make a Function from a GridFunction

Template Parameters
GFThe GridFunction type

Member Function Documentation

◆ evaluate()

template<typename GF >
void Dune::PDELab::GridFunctionToFunctionAdapter< GF >::evaluate ( const typename Traits::DomainType x,
typename Traits::RangeType y 
) const
inline

Evaluate all basis function at given position.

Evaluates all shape functions at the given position and returns these values in a vector.

References Dune::HierarchicSearch< Grid, IS >::findEntity().


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 23, 23:29, 2024)