dune-fem  2.4.1-rc
Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
Dune::Fem::ConvertToGridFunction< FunctionImp, GridPartImp > Class Template Reference

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/function/common/gridfunctionadapter.hh>

Inheritance diagram for Dune::Fem::ConvertToGridFunction< FunctionImp, GridPartImp >:
Inheritance graph

Public Types

typedef FunctionImp FunctionType
 
typedef GridPartImp GridPartType
 
typedef ConvertedType::DiscreteFunctionSpaceType DiscreteFunctionSpaceType
 type of discrete function space More...
 
typedef ConvertedType::FunctionSpaceType FunctionSpaceType
 
typedef DiscreteFunctionSpaceType::GridType GridType
 type of grid More...
 
typedef DiscreteFunctionSpaceType::DomainFieldType DomainFieldType
 domain type (from function space) More...
 
typedef DiscreteFunctionSpaceType::RangeFieldType RangeFieldType
 range type (from function space) More...
 
typedef DiscreteFunctionSpaceType::DomainType DomainType
 domain type (from function space) More...
 
typedef DiscreteFunctionSpaceType::RangeType RangeType
 range type (from function space) More...
 
typedef DiscreteFunctionSpaceType::JacobianRangeType JacobianRangeType
 jacobian type (from function space) More...
 
typedef GridPartType::template Codim< 0 >::EntityType EntityType
 type of codim 0 entity More...
 
typedef ConvertedType::LocalFunctionType LocalFunctionType
 type of local function to export More...
 
typedef FunctionSpaceType::HessianRangeType HessianRangeType
 hessian type More...
 
typedef Mapping< DomainFieldType, RangeFieldType, DomainType, RangeTypeMappingType
 type of mapping base class More...
 

Public Member Functions

 ConvertToGridFunction (const std::string &name, const FunctionImp &function, const GridPartType &gridPart)
 constructor More...
 
 ConvertToGridFunction (const ThisType &other)
 
void evaluate (const DomainType &global, RangeType &result) const
 evaluate function on local coordinate local More...
 
const LocalFunctionType localFunction (const EntityType &entity) const
 obtain a local function for an entity (read-write) More...
 
LocalFunctionType localFunction (const EntityType &entity)
 obtain a local function for an entity (read-write) More...
 
const std::string & name () const
 obtain the name of the discrete function More...
 
const DiscreteFunctionSpaceTypespace () const
 
virtual void operator() (const DomainType &arg, RangeType &dest) const
 application operator call evaluate More...
 
void operator() (const DomainType &arg, RangeType &dest) const
 Application operator that applies all operators in the linear combination stack. More...
 
void evaluate (const DomainType &x, RangeType &value) const
 evaluate the function More...
 
void jacobian (const DomainType &x, JacobianRangeType &jacobian) const
 evaluate the Jacobian of the function More...
 
void hessian (const DomainType &x, HessianRangeType &hessian) const
 evaluate the hessian of the function More...
 

Protected Member Functions

const ConvertToGridFunction< FunctionImp, GridPartImp > & asImp () const
 
ConvertToGridFunction< FunctionImp, GridPartImp > & asImp ()
 

Static Protected Member Functions

static const ConvertToGridFunction< FunctionImp, GridPartImp > & asImp (const ThisType &other)
 
static ConvertToGridFunction< FunctionImp, GridPartImp > & asImp (ThisType &other)
 

Member Typedef Documentation

typedef FunctionSpaceType :: HessianRangeType Dune::Fem::Function< FunctionImp::FunctionSpaceType , ConvertToGridFunction< FunctionImp, GridPartImp > >::HessianRangeType
inherited

hessian type

typedef Mapping< DomainFieldType, RangeFieldType, DomainType, RangeType > Dune::Fem::Function< FunctionImp::FunctionSpaceType , ConvertToGridFunction< FunctionImp, GridPartImp > >::MappingType
inherited

type of mapping base class

Member Function Documentation

static const ConvertToGridFunction< FunctionImp, GridPartImp > & Dune::Fem::BartonNackmanInterface< Function< FunctionImp::FunctionSpaceType, ConvertToGridFunction< FunctionImp, GridPartImp > > , ConvertToGridFunction< FunctionImp, GridPartImp > >::asImp ( const ThisType other)
inlinestaticprotectedinherited
static ConvertToGridFunction< FunctionImp, GridPartImp > & Dune::Fem::BartonNackmanInterface< Function< FunctionImp::FunctionSpaceType, ConvertToGridFunction< FunctionImp, GridPartImp > > , ConvertToGridFunction< FunctionImp, GridPartImp > >::asImp ( ThisType other)
inlinestaticprotectedinherited
const ConvertToGridFunction< FunctionImp, GridPartImp > & Dune::Fem::BartonNackmanInterface< Function< FunctionImp::FunctionSpaceType, ConvertToGridFunction< FunctionImp, GridPartImp > > , ConvertToGridFunction< FunctionImp, GridPartImp > >::asImp ( ) const
inlineprotectedinherited
ConvertToGridFunction< FunctionImp, GridPartImp > & Dune::Fem::BartonNackmanInterface< Function< FunctionImp::FunctionSpaceType, ConvertToGridFunction< FunctionImp, GridPartImp > > , ConvertToGridFunction< FunctionImp, GridPartImp > >::asImp ( )
inlineprotectedinherited
void Dune::Fem::Function< FunctionImp::FunctionSpaceType , ConvertToGridFunction< FunctionImp, GridPartImp > >::evaluate ( const DomainType x,
RangeType value 
) const
inlineinherited

evaluate the function

Parameters
[in]xevaluation point
[out]valuevalue of the function in x

References Dune::Fem::BartonNackmanInterface< Function< FunctionSpaceImp, FunctionImp >, FunctionImp >::asImp(), and Dune::Fem::Function< FunctionSpaceImp, FunctionImp >::evaluate().

void Dune::Fem::Function< FunctionImp::FunctionSpaceType , ConvertToGridFunction< FunctionImp, GridPartImp > >::hessian ( const DomainType x,
HessianRangeType hessian 
) const
inlineinherited
void Dune::Fem::Function< FunctionImp::FunctionSpaceType , ConvertToGridFunction< FunctionImp, GridPartImp > >::jacobian ( const DomainType x,
JacobianRangeType jacobian 
) const
inlineinherited

evaluate the Jacobian of the function

Parameters
[in]xevaluation point
[out]jacobianvalue of the Jacobian in x

References Dune::Fem::BartonNackmanInterface< Function< FunctionSpaceImp, FunctionImp >, FunctionImp >::asImp(), and Dune::Fem::Function< FunctionSpaceImp, FunctionImp >::jacobian().

virtual void Dune::Fem::Function< FunctionImp::FunctionSpaceType , ConvertToGridFunction< FunctionImp, GridPartImp > >::operator() ( const DomainType arg,
RangeType dest 
) const
inlinevirtualinherited

application operator call evaluate

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

References Dune::Fem::Function< FunctionSpaceImp, FunctionImp >::evaluate().

void Dune::Fem::Mapping< FunctionImp::FunctionSpaceType::DomainFieldType , FunctionImp::FunctionSpaceType::RangeFieldType , FunctionImp::FunctionSpaceType::DomainType , FunctionImp::FunctionSpaceType::RangeType >::operator() ( const DomainType arg,
RangeType dest 
) const
inlineinherited

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

Parameters
[in]argargument
[out]destdestination

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