dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Dune::Fem::LocalFunctionAdapterLocalFunction< LocalFunctionImpl > Class Template Reference

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

Public Types

typedef LocalFunctionImpl LocalFunctionImplType
 type of local function implementation
 
typedef LocalFunctionAdapterTraits< LocalFunctionImplTypeTraits
 type of the traits class
 
typedef Traits::FunctionSpaceType FunctionSpaceType
 
typedef Traits::DomainFieldType DomainFieldType
 domain type
 
typedef Traits::RangeFieldType RangeFieldType
 range type
 
typedef Traits::DomainType DomainType
 domain type
 
typedef Traits::RangeType RangeType
 range type
 
typedef Traits::JacobianRangeType JacobianRangeType
 jacobian type
 
typedef Traits::HessianRangeType HessianRangeType
 hessian type
 
typedef Traits::DiscreteFunctionType DiscreteFunctionType
 
typedef Traits::EntityType EntityType
 
typedef Traits::LocalFuncStorageType LocalFuncStorageType
 

Public Member Functions

 LocalFunctionAdapterLocalFunction (const EntityType &entity, const DiscreteFunctionType &adapter)
 constructor initializing local function
 
 LocalFunctionAdapterLocalFunction (const DiscreteFunctionType &adapter)
 constructor
 
 LocalFunctionAdapterLocalFunction (const ThisType &other)
 copy constructor
 
 ~LocalFunctionAdapterLocalFunction ()
 destructor
 
unsigned int order () const
 return order of the space
 
template<class PointType >
void evaluate (const PointType &x, RangeType &ret) const
 evaluate local function
 
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
 
template<class QuadratureType , class ... Vectors>
void evaluateQuadrature (const QuadratureType &quad, Vectors &... result) const
 
template<class QuadratureType , class ... Vectors>
void jacobianQuadrature (const QuadratureType &quad, Vectors &... result) const
 
void init (const EntityType &entity)
 init local function
 
const EntityTypeentity () const
 get entity
 
template<class ArgumentType >
void initialize (const ArgumentType &arg, double time)
 
template<class QuadratureType , class VectorType >
auto evaluateQuadrature (const QuadratureType &quad, VectorType &result) const -> std::enable_if_t< std::is_same< std::decay_t< decltype(result[0]) >, RangeType >::value >
 
template<class QuadratureType , class VectorType >
auto evaluateQuadrature (const QuadratureType &quad, VectorType &result) const -> std::enable_if_t< std::is_same< std::decay_t< decltype(result[0]) >, JacobianRangeType >::value >
 

Protected Member Functions

const LocalFuncStorageTypelocalFunctionImpl () const
 
LocalFuncStorageTypelocalFunctionImpl ()
 

Protected Attributes

EntityType const * entity_ = nullptr
 
const DiscreteFunctionTypeadapter_
 
LocalFuncStorageType localFunctionImpl_
 

Member Function Documentation

◆ evaluateQuadrature()

template<class LocalFunctionImpl >
template<class QuadratureType , class VectorType >
auto Dune::Fem::LocalFunctionAdapterLocalFunction< LocalFunctionImpl >::evaluateQuadrature ( const QuadratureType &  quad,
VectorType &  result 
) const -> std::enable_if_t< std::is_same< std::decay_t< decltype(result[ 0 ] ) >, JacobianRangeType >::value >
inline

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