dune-fem 2.8.0
|
#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 EntityType & | entity () 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 FunctionType & | function () const |
Protected Attributes | |
const FunctionType * | function_ |
const EntityType * | entity_ |
int | order_ |
|
inlineprotected |