dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Related Functions | List of all members
Dune::Fem::Identity< FunctionSpace< ct, ct, dimworld, dimworld > > Class Template Reference

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

Inheritance diagram for Dune::Fem::Identity< FunctionSpace< ct, ct, dimworld, dimworld > >:
Inheritance graph

Public Types

typedef BaseType::DomainType DomainType
 
typedef BaseType::RangeType RangeType
 
typedef BaseType::JacobianRangeType JacobianRangeType
 
typedef BaseType::HessianRangeType HessianRangeType
 
typedef FunctionSpace< ct, ct, dimworld, dimworld > FunctionSpaceType
 type of function space this function belongs to
 
typedef Identity< FunctionSpace< ct, ct, dimworld, dimworld > > FunctionType
 type of the implementation (Barton-Nackman)
 
typedef FunctionSpaceType::DomainFieldType DomainFieldType
 field type of domain
 
typedef FunctionSpaceType::RangeFieldType RangeFieldType
 field type of range
 
typedef Mapping< DomainFieldType, RangeFieldType, DomainType, RangeTypeMappingType
 type of mapping base class
 

Public Member Functions

void evaluate (const DomainType &x, RangeType &value) const
 
void jacobian (const DomainType &x, JacobianRangeType &jacobian) const
 
void hessian (const DomainType &x, HessianRangeType &hessian) const
 
virtual void operator() (const DomainType &arg, RangeType &dest) const
 application operator call evaluate
 
void operator() (const DomainType &arg, RangeType &dest) const
 Application operator that applies all operators in the linear combination stack.
 

Protected Member Functions

const Implementation & asImp () const
 
Implementation & asImp ()
 

Static Protected Member Functions

static const Implementation & asImp (const ThisType &other)
 
static Implementation & asImp (ThisType &other)
 
static const Implementation & asImp (const ThisType &other)
 
static Implementation & asImp (ThisType &other)
 

Related Functions

(Note that these are not member functions.)

template<class DFieldType , class RFieldType , class DType , class RType >
static Mapping< DFieldType, RFieldType, DType, RType > operator+ (const Mapping< DFieldType, RFieldType, DType, RType > &a, const Mapping< DFieldType, RFieldType, DType, RType > &b)
 add two mappings
 
template<class DFieldType , class RFieldType , class DType , class RType >
static Mapping< DFieldType, RFieldType, DType, RType > operator- (const Mapping< DFieldType, RFieldType, DType, RType > &a, const Mapping< DFieldType, RFieldType, DType, RType > &b)
 substract two mappings
 
template<class DFieldType , class RFieldType , class DType , class RType >
static Mapping< DFieldType, RFieldType, DType, RType > operator* (const Mapping< DFieldType, RFieldType, DType, RType > &mapping, const RFieldType &factor)
 scale mapping with factor
 
template<class DFieldType , class RFieldType , class DType , class RType >
static Mapping< DFieldType, RFieldType, DType, RType > operator* (const RFieldType &factor, const Mapping< DFieldType, RFieldType, DType, RType > &mapping)
 scale mapping with factor
 
template<class DFieldType , class RFieldType , class DType , class RType >
static Mapping< DFieldType, RFieldType, DType, RType > operator/ (const Mapping< DFieldType, RFieldType, DType, RType > &mapping, const RFieldType &factor)
 operator / for mappings
 
template<class DFieldType , class RFieldType , class DType , class RType >
static Mapping< DFieldType, RFieldType, DType, RType > operator/ (const RFieldType &factor, const Mapping< DFieldType, RFieldType, DType, RType > &mapping)
 operator / for mappings
 

Member Typedef Documentation

◆ DomainFieldType

typedef FunctionSpaceType::DomainFieldType Dune::Fem::Function< FunctionSpace< ct, ct, dimworld, dimworld > , Identity< FunctionSpace< ct, ct, dimworld, dimworld > > >::DomainFieldType
inherited

field type of domain

◆ DomainType

template<class ct , int dimworld>
typedef BaseType::DomainType Dune::Fem::Identity< FunctionSpace< ct, ct, dimworld, dimworld > >::DomainType

◆ FunctionSpaceType

typedef FunctionSpace< ct, ct, dimworld, dimworld > Dune::Fem::Function< FunctionSpace< ct, ct, dimworld, dimworld > , Identity< FunctionSpace< ct, ct, dimworld, dimworld > > >::FunctionSpaceType
inherited

type of function space this function belongs to

◆ FunctionType

typedef Identity< FunctionSpace< ct, ct, dimworld, dimworld > > Dune::Fem::Function< FunctionSpace< ct, ct, dimworld, dimworld > , Identity< FunctionSpace< ct, ct, dimworld, dimworld > > >::FunctionType
inherited

type of the implementation (Barton-Nackman)

◆ HessianRangeType

template<class ct , int dimworld>
typedef BaseType::HessianRangeType Dune::Fem::Identity< FunctionSpace< ct, ct, dimworld, dimworld > >::HessianRangeType

◆ JacobianRangeType

template<class ct , int dimworld>
typedef BaseType::JacobianRangeType Dune::Fem::Identity< FunctionSpace< ct, ct, dimworld, dimworld > >::JacobianRangeType

◆ MappingType

typedef Mapping< DomainFieldType, RangeFieldType, DomainType, RangeType > Dune::Fem::Function< FunctionSpace< ct, ct, dimworld, dimworld > , Identity< FunctionSpace< ct, ct, dimworld, dimworld > > >::MappingType
inherited

type of mapping base class

◆ RangeFieldType

typedef FunctionSpaceType::RangeFieldType Dune::Fem::Function< FunctionSpace< ct, ct, dimworld, dimworld > , Identity< FunctionSpace< ct, ct, dimworld, dimworld > > >::RangeFieldType
inherited

field type of range

◆ RangeType

template<class ct , int dimworld>
typedef BaseType::RangeType Dune::Fem::Identity< FunctionSpace< ct, ct, dimworld, dimworld > >::RangeType

Member Function Documentation

◆ asImp() [1/6]

Implementation & Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( )
inlineprotectedinherited

◆ asImp() [2/6]

const Implementation & Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( ) const
inlineprotectedinherited

◆ asImp() [3/6]

static const Implementation & Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( const ThisType other)
inlinestaticprotectedinherited

◆ asImp() [4/6]

template<class Interface , class Implementation >
static const Implementation & Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( const ThisType other)
inlinestaticprotectedinherited

◆ asImp() [5/6]

static Implementation & Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( ThisType other)
inlinestaticprotectedinherited

◆ asImp() [6/6]

template<class Interface , class Implementation >
static Implementation & Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( ThisType other)
inlinestaticprotectedinherited

◆ evaluate()

template<class ct , int dimworld>
void Dune::Fem::Identity< FunctionSpace< ct, ct, dimworld, dimworld > >::evaluate ( const DomainType x,
RangeType value 
) const
inline

◆ hessian()

template<class ct , int dimworld>
void Dune::Fem::Identity< FunctionSpace< ct, ct, dimworld, dimworld > >::hessian ( const DomainType x,
HessianRangeType hessian 
) const
inline

◆ jacobian()

template<class ct , int dimworld>
void Dune::Fem::Identity< FunctionSpace< ct, ct, dimworld, dimworld > >::jacobian ( const DomainType x,
JacobianRangeType jacobian 
) const
inline

◆ operator()() [1/2]

virtual void Dune::Fem::Function< FunctionSpace< ct, ct, dimworld, dimworld > , Identity< FunctionSpace< ct, ct, dimworld, dimworld > > >::operator() ( const DomainType arg,
RangeType dest 
) const
inlinevirtualinherited

application operator call evaluate

Parameters
[in]argargument
[out]destdestination, i.e. f(arg)

◆ operator()() [2/2]

template<typename DFieldType , typename RFieldType , class DType , class RType >
void Dune::Fem::Mapping< DFieldType, RFieldType, DType, RType >::operator() ( const DomainType arg,
RangeType dest 
) const
inlineinherited

Application operator that applies all operators in the linear combination stack.

Parameters
[in]argargument
[out]destdestination

Friends And Related Function Documentation

◆ operator*() [1/2]

template<class DFieldType , class RFieldType , class DType , class RType >
static Mapping< DFieldType, RFieldType, DType, RType > operator* ( const Mapping< DFieldType, RFieldType, DType, RType > &  mapping,
const RFieldType &  factor 
)
related

scale mapping with factor

Parameters
[in]mappingMapping which is scaled
[in]factorfactor with which mapping is scaled
Returns
new object mapping

◆ operator*() [2/2]

template<class DFieldType , class RFieldType , class DType , class RType >
static Mapping< DFieldType, RFieldType, DType, RType > operator* ( const RFieldType &  factor,
const Mapping< DFieldType, RFieldType, DType, RType > &  mapping 
)
related

scale mapping with factor

Parameters
[in]factorfactor with which mapping is scaled
[in]mappingMapping which is scaled
Returns
new object mapping

◆ operator+()

template<class DFieldType , class RFieldType , class DType , class RType >
static Mapping< DFieldType, RFieldType, DType, RType > operator+ ( const Mapping< DFieldType, RFieldType, DType, RType > &  a,
const Mapping< DFieldType, RFieldType, DType, RType > &  b 
)
related

add two mappings

Parameters
[in]amapping 1
[in]bmapping 2
Returns
new object mapping

◆ operator-()

template<class DFieldType , class RFieldType , class DType , class RType >
static Mapping< DFieldType, RFieldType, DType, RType > operator- ( const Mapping< DFieldType, RFieldType, DType, RType > &  a,
const Mapping< DFieldType, RFieldType, DType, RType > &  b 
)
related

substract two mappings

Parameters
[in]amapping 1
[in]bmapping 2
Returns
new object mapping

◆ operator/() [1/2]

template<class DFieldType , class RFieldType , class DType , class RType >
static Mapping< DFieldType, RFieldType, DType, RType > operator/ ( const Mapping< DFieldType, RFieldType, DType, RType > &  mapping,
const RFieldType &  factor 
)
related

operator / for mappings

Parameters
[in]mappingmapping which is divided
[in]factorf factor by which result of mapping is divided
Returns
new object mapping

◆ operator/() [2/2]

template<class DFieldType , class RFieldType , class DType , class RType >
static Mapping< DFieldType, RFieldType, DType, RType > operator/ ( const RFieldType &  factor,
const Mapping< DFieldType, RFieldType, DType, RType > &  mapping 
)
related

operator / for mappings

Parameters
[in]factorby which result of mapping is divided
[in]mappingwhich is divided
Returns
new object mapping

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