dune-fem 2.8.0
Loading...
Searching...
No Matches
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
 
typedef FunctionSpaceType::DomainFieldType DomainFieldType
 domain field type (from function space)
 
typedef FunctionSpaceType::RangeFieldType RangeFieldType
 range field type (from function space)
 
typedef FunctionSpaceType::DomainType DomainType
 domain type (from function space)
 
typedef FunctionSpaceType::RangeType RangeType
 range type (from function space)
 
typedef FunctionSpaceType::JacobianRangeType JacobianRangeType
 jacobian type (from function space)
 
typedef FunctionSpaceType::HessianRangeType HessianRangeType
 hessian type (from function space)
 
typedef Traits::EntityType EntityType
 entity type
 
typedef Traits::IntersectionType IntersectionType
 
typedef EntityType::Geometry::LocalCoordinate LocalCoordinateType
 local coordinate type
 

Public Member Functions

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

Static Public Attributes

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

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: