dune-pdelab  2.4-dev
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. More...
 

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. More...
 
const Traits::GridViewType & getGridView () const
 get a reference to the GridView More...
 
void select (int k_)
 set component to be selected More...
 
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 Typedef Documentation

Export type traits.

Constructor & Destructor Documentation

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

Member Function Documentation

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
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.

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

get a reference to the GridView

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: