dune-fem  2.8-git
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Dune::Fem::BasicGridFunctionAdapter< FunctionImp, GridPartImp >::LocalFunction Class Reference

#include <dune/fem/function/common/gridfunctionadapter.hh>

Public Types

typedef Traits::FunctionSpaceType FunctionSpaceType
 function space type More...
 
typedef FunctionSpaceType::DomainFieldType DomainFieldType
 domain field type (from function space) More...
 
typedef FunctionSpaceType::RangeFieldType RangeFieldType
 range field type (from function space) More...
 
typedef FunctionSpaceType::DomainType DomainType
 domain type (from function space) More...
 
typedef FunctionSpaceType::RangeType RangeType
 range type (from function space) More...
 
typedef FunctionSpaceType::JacobianRangeType JacobianRangeType
 jacobian type (from function space) More...
 
typedef FunctionSpaceType::HessianRangeType HessianRangeType
 hessian type (from function space) More...
 
typedef Traits::EntityType EntityType
 entity type More...
 
typedef Traits::IntersectionType IntersectionType
 
typedef EntityType::Geometry::LocalCoordinate LocalCoordinateType
 local coordinate type More...
 

Public Member Functions

 LocalFunction (const EntityType &entity, const DiscreteFunctionType &df)
 constructor initializing local function More...
 
 LocalFunction (const DiscreteFunctionType &df)
 
 LocalFunction (const LocalFunction &other)=default
 copy constructor More...
 
template<class PointType >
void evaluate (const PointType &x, RangeType &ret) const
 evaluate local function More...
 
template<class PointType >
RangeType operator() (const PointType &x) const
 
template<class PointType >
void jacobian (const PointType &x, JacobianRangeType &ret) const
 jacobian of local function More...
 
template<class PointType >
void hessian (const PointType &x, HessianRangeType &ret) const
 hessian of local function More...
 
template<class QuadratureType , class ... Vectors>
void evaluateQuadrature (const QuadratureType &quadrature, Vectors &... values) const
 evaluate function or jacobian of function for given quadrature More...
 
int order () const
 
void init (const EntityType &entity)
 init local function More...
 
const EntityTypeentity () const
 

Static Public Attributes

static const int dimDomain = GridPart::GridType::dimensionworld
 domain dimension (from function space) More...
 
static const int dimRange = FunctionSpaceType::dimRange
 range dimension (from function space) More...
 
static const int dimLocal = LocalCoordinateType::dimension
 local dimension More...
 

Protected Member Functions

template<class QuadratureType , class VectorType >
auto evaluateQuadratureImp (const QuadratureType &quadrature, VectorType &values) const -> std::enable_if_t< std::is_same< std::decay_t< decltype(values[0]) >, RangeType >::value >
 
template<class QuadratureType , class VectorType >
auto evaluateQuadratureImp (const QuadratureType &quadrature, VectorType &values) const -> std::enable_if_t< std::is_same< std::decay_t< decltype(values[0]) >, JacobianRangeType >::value >
 
const FunctionTypefunction () const
 

Protected Attributes

const FunctionTypefunction_
 
const EntityTypeentity_
 
int order_
 

Member Function Documentation

◆ evaluateQuadratureImp()

template<class FunctionImp , class GridPartImp >
template<class QuadratureType , class VectorType >
auto Dune::Fem::BasicGridFunctionAdapter< FunctionImp, GridPartImp >::LocalFunction::evaluateQuadratureImp ( const QuadratureType &  quadrature,
VectorType &  values 
) const -> std::enable_if_t< std::is_same< std::decay_t< decltype(values[ 0 ] ) >, JacobianRangeType >::value >
inlineprotected

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