dune-pdelab 2.7-git
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Dune::PDELab::BoundaryGridFunctionSelectComponentAdapter< T > Class Template Reference

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

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

Inheritance diagram for Dune::PDELab::BoundaryGridFunctionSelectComponentAdapter< T >:
Inheritance graph

Public Types

typedef BaseT::Traits Traits
 Export type traits.
 

Public Member Functions

 BoundaryGridFunctionSelectComponentAdapter (const T &t_, int k_)
 
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.
 
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.
 

Detailed Description

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

Takes a BoundaryGridFunction and acts as a single component.

Member Typedef Documentation

◆ Traits

Export type traits.

Constructor & Destructor Documentation

◆ BoundaryGridFunctionSelectComponentAdapter()

template<class T >
Dune::PDELab::BoundaryGridFunctionSelectComponentAdapter< T >::BoundaryGridFunctionSelectComponentAdapter ( const T &  t_,
int  k_ 
)
inline

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.

◆ getGridView()

template<class T >
const Traits::GridViewType & Dune::PDELab::BoundaryGridFunctionSelectComponentAdapter< T >::getGridView ( ) const
inline

get a reference to the GridView

◆ select()

template<class T >
void Dune::PDELab::BoundaryGridFunctionSelectComponentAdapter< T >::select ( int  k_)
inline

set component to be selected


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