dune-fem
2.4.1-rc
|
Generates the Lagrange Interpolation of an analytic function. More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/operator/lagrangeinterpolation.hh>
Public Types | |
typedef DiscreteFunction | DiscreteFunctionType |
type of discrete functions More... | |
typedef DiscreteFunctionType::DiscreteFunctionSpaceType | DiscreteFunctionSpaceType |
type of discrete function space More... | |
typedef DiscreteFunctionType::LocalFunctionType | LocalFunctionType |
type of local functions More... | |
typedef DiscreteFunctionSpaceType::GridPartType | GridPartType |
type of grid partition More... | |
typedef DiscreteFunctionSpaceType::LagrangePointSetType | LagrangePointSetType |
type of Lagrange point set More... | |
typedef DiscreteFunctionSpaceType::DomainType | DomainType |
type of vectors in function's domain More... | |
typedef DiscreteFunctionSpaceType::RangeType | RangeType |
type of vectors in function's range More... | |
typedef Function | DomainFunctionType |
type of discrete function in the operator's domain More... | |
typedef DiscreteFunction | RangeFunctionType |
type of discrete function in the operator's range More... | |
typedef Function::RangeFieldType | DomainFieldType |
field type of the operator's domain More... | |
typedef DiscreteFunction::RangeFieldType | RangeFieldType |
field type of the operator's range More... | |
Public Member Functions | |
LagrangeInterpolation () | |
empty contructor More... | |
virtual | ~LagrangeInterpolation () |
virtual destructor because of inheritance from Operator More... | |
void | operator() (const Function &function, DiscreteFunctionType &discreteFunction) const |
virtual void | operator() (const DomainFunctionType &u, RangeFunctionType &w) const =0 |
application operator More... | |
Static Public Member Functions | |
static void | interpolateFunction (const Function &function, DiscreteFunctionType &discreteFunction) |
static void | apply (const Function &function, DiscreteFunctionType &discreteFunction) |
Generates the Lagrange Interpolation of an analytic function.
typedef DiscreteFunctionType::DiscreteFunctionSpaceType Dune::Fem::LagrangeInterpolation< Function, DiscreteFunction >::DiscreteFunctionSpaceType |
type of discrete function space
typedef DiscreteFunction Dune::Fem::LagrangeInterpolation< Function, DiscreteFunction >::DiscreteFunctionType |
type of discrete functions
|
inherited |
field type of the operator's domain
|
inherited |
type of discrete function in the operator's domain
typedef DiscreteFunctionSpaceType::DomainType Dune::Fem::LagrangeInterpolation< Function, DiscreteFunction >::DomainType |
type of vectors in function's domain
typedef DiscreteFunctionSpaceType::GridPartType Dune::Fem::LagrangeInterpolation< Function, DiscreteFunction >::GridPartType |
type of grid partition
typedef DiscreteFunctionSpaceType::LagrangePointSetType Dune::Fem::LagrangeInterpolation< Function, DiscreteFunction >::LagrangePointSetType |
type of Lagrange point set
typedef DiscreteFunctionType::LocalFunctionType Dune::Fem::LagrangeInterpolation< Function, DiscreteFunction >::LocalFunctionType |
type of local functions
|
inherited |
field type of the operator's range
|
inherited |
type of discrete function in the operator's range
typedef DiscreteFunctionSpaceType::RangeType Dune::Fem::LagrangeInterpolation< Function, DiscreteFunction >::RangeType |
type of vectors in function's range
|
inline |
empty contructor
|
inlinevirtual |
virtual destructor because of inheritance from Operator
|
inlinestatic |
interpolate an analytical function into a Lagrange discrete function
This Method evaluates the given function (which can be evaluated globally) at the Lagrange points and writes the values into a discrete function.
[in] | function | function to interpolate |
[out] | discreteFunction | discrete function to receive the interpolation |
References Dune::Fem::LagrangeInterpolation< Function, DiscreteFunction >::interpolateFunction(), and Dune::Fem::GridFunctionAdapter< FunctionImp, GridPartImp >::space().
|
inlinestatic |
interpolate an analytical function into a Lagrange discrete function
This Method evaluates the given function (which can be evaluated globally) at the Lagrange points and writes the values into a discrete function.
[in] | function | function to interpolate |
[out] | discreteFunction | discrete function to receive the interpolation |
Referenced by Dune::Fem::DataOutput< GridImp, DataImp >::VTKFunc< VTKIOType, DFType >::add(), Dune::Fem::LagrangeInterpolation< Function, DiscreteFunction >::apply(), and Dune::Fem::LagrangeInterpolation< Function, DiscreteFunction >::operator()().
|
pure virtualinherited |
application operator
[in] | u | argument discrete function |
[out] | w | destination discrete function |
|
inline |
interpolate an analytical function into a Lagrange discrete function
This Method evaluates the given function (which can be evaluated globally) at the Lagrange points and writes the values into a discrete function.
[in] | function | function to interpolate |
[out] | discreteFunction | discrete function to receive the interpolation |
References Dune::Fem::LagrangeInterpolation< Function, DiscreteFunction >::interpolateFunction().