DUNE PDELab (git)

Dune::PDELab::BoundaryGridFunctionSelectComponentAdapter< T > Class Template Reference

Takes a BoundaryGridFunction and acts as a single component. More...

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

Public Types

typedef BaseT::Traits Traits
 Export type traits.
 

Public Member Functions

template<typename I >
void evaluate (const IntersectionGeometry< I > &ig, const typename Traits::DomainType &x, typename Traits::RangeType &y) const
 Evaluate all basis function at given position. More...
 
const Traits::GridViewType & getGridView () const
 get a reference to the GridView
 
void select (int k_)
 set component to be selected
 
void evaluate (const IntersectionGeometry< I > &ig, const typename Traits::DomainType &x, typename Traits::RangeType &y) const
 Evaluate the GridFunction at given position. More...
 

Detailed Description

template<class T>
class Dune::PDELab::BoundaryGridFunctionSelectComponentAdapter< T >

Takes a BoundaryGridFunction and acts as a single component.

Member Function Documentation

◆ evaluate() [1/2]

void Dune::PDELab::BoundaryGridFunctionInterface< BoundaryGridFunctionTraits< T::Traits::GridViewType, T::Traits::RangeFieldType, 1, Dune::FieldVector< T::Traits::RangeFieldType, 1 > > , BoundaryGridFunctionSelectComponentAdapter< T > >::evaluate ( const IntersectionGeometry< I > &  ig,
const typename Traits::DomainType x,
typename Traits::RangeType y 
) const
inlineinherited

Evaluate the GridFunction at given position.

Evaluates components of the grid function at the given position and returns these values in a vector.

Parameters
[in]iggeometry of intersection with boundary
[in]xThe position in entity-local coordinates
[out]yThe result of the evaluation

◆ evaluate() [2/2]

template<class T >
template<typename I >
void Dune::PDELab::BoundaryGridFunctionSelectComponentAdapter< T >::evaluate ( const IntersectionGeometry< I > &  ig,
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.


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