DUNE-ACFEM (2.5.1)
constantfunction.hh
88 typedef Fem::DiscreteFunctionSpaceAdapter<FunctionSpaceType, GridPart> DiscreteFunctionSpaceType;
334 typedef Fem::DiscreteFunctionSpaceAdapter<FunctionSpaceType, GridPart> DiscreteFunctionSpaceType;
559 typedef Fem::DiscreteFunctionSpaceAdapter<FunctionSpaceType, GridPart> DiscreteFunctionSpaceType;
569 typedef FractionGridFunction<FunctionSpace, GridPart, numerator, denominator> DiscreteFunctionType;
596 : public FractionGridFunctionTraits<FunctionSpace, GridPart, numerator, denominator>::ExpressionBaseType,
713 typedef FractionGridFunction<FunctionSpace, GridPart, numerator, denominator> DiscreteFunctionType;
A class describing a constant function.
Definition: constantfunction.hh:29
ConstantGridFunction implements a constant function.
Definition: constantfunction.hh:108
ConstantGridFunction(const RangeType &value, const GridPart &grid)
Construct the constant grid function from its constituents: the value and the grid.
Definition: constantfunction.hh:162
void hessian(const DomainType &global, HessianRangeType &result) const
Evaluate hessian in global coordinates.
Definition: constantfunction.hh:184
TraitsType::EntityType EntityType
type of codim 0 entity
Definition: constantfunction.hh:149
LocalFunctionType localFunction(const EntityType &entity)
See Dune::Fem::DiscreteFunctionInterface::localFunction(const EntityType &entity)
Definition: constantfunction.hh:196
const LocalFunctionType localFunction(const EntityType &entity) const
See Dune::Fem::DiscreteFunctionInterface::localFunction(const EntityType &entity) const.
Definition: constantfunction.hh:190
DiscreteFunctionSpaceType::RangeFieldType RangeFieldType
range type (from function space)
Definition: constantfunction.hh:138
DiscreteFunctionSpaceType::GridPartType GridPartType
type of gridPart
Definition: constantfunction.hh:130
void jacobian(const DomainType &global, JacobianRangeType &result) const
Evaluate jacobian in global coordinates.
Definition: constantfunction.hh:178
DiscreteFunctionSpaceType::DomainFieldType DomainFieldType
domain type (from function space)
Definition: constantfunction.hh:136
DiscreteFunctionSpaceType::GridType GridType
type of grid
Definition: constantfunction.hh:133
DiscreteFunctionSpaceType::DomainType DomainType
domain type (from function space)
Definition: constantfunction.hh:140
TraitsType::DiscreteFunctionSpaceType DiscreteFunctionSpaceType
type of discrete function space
Definition: constantfunction.hh:121
const DiscreteFunctionSpaceType & space() const
See Dune::Fem::DiscreteFunctionInterface::space() const.
Definition: constantfunction.hh:202
DiscreteFunctionSpaceType::RangeType RangeType
range type (from function space)
Definition: constantfunction.hh:142
LocalFunction LocalFunctionType
type of local function to export
Definition: constantfunction.hh:157
DiscreteFunctionSpaceType::JacobianRangeType JacobianRangeType
jacobian type (from function space)
Definition: constantfunction.hh:144
void evaluate(const DomainType &global, RangeType &result) const
Evaluate function in global coordinates.
Definition: constantfunction.hh:172
ThisType DiscreteFunctionType
ourselves
Definition: constantfunction.hh:115
DiscreteFunctionSpaceType::HessianRangeType HessianRangeType
hessian type (from function space)
Definition: constantfunction.hh:146
ConstantGridFunctionTraits< FunctionSpace, GridPart > TraitsType
type of traits
Definition: constantfunction.hh:118
A grid-function which is constant with a scalar fractional value.
Definition: constantfunction.hh:598
DiscreteFunctionSpaceType::DomainFieldType DomainFieldType
domain type (from function space)
Definition: constantfunction.hh:623
DiscreteFunctionSpaceType::GridPartType GridPartType
type of gridPart
Definition: constantfunction.hh:617
LocalFunctionType localFunction(const EntityType &entity)
See Dune::Fem::DiscreteFunctionInterface::localFunction(const EntityType &entity)
Definition: constantfunction.hh:683
DiscreteFunctionSpaceType::DomainType DomainType
domain type (from function space)
Definition: constantfunction.hh:625
FractionGridFunction(const GridPart &grid)
The value of this function is built into its type, so the only dynamic constituent for the constructo...
Definition: constantfunction.hh:647
void jacobian(const DomainType &global, JacobianRangeType &result) const
Evaluate jacobian in global coordinates.
Definition: constantfunction.hh:665
const LocalFunctionType localFunction(const EntityType &entity) const
See Dune::Fem::DiscreteFunctionInterface::localFunction(const EntityType &entity) const.
Definition: constantfunction.hh:677
TraitsType::DiscreteFunctionSpaceType DiscreteFunctionSpaceType
type of discrete function space
Definition: constantfunction.hh:608
FractionGridFunctionTraits< FunctionSpace, GridPart, numerator, denominator > TraitsType
type of traits
Definition: constantfunction.hh:601
void hessian(const DomainType &global, HessianRangeType &result) const
Evaluate hessian in global coordinates.
Definition: constantfunction.hh:671
void evaluate(const DomainType &global, RangeType &result) const
Evaluate function in global coordinates.
Definition: constantfunction.hh:659
RangeType value() const
Return the one constant value.
Definition: constantfunction.hh:697
DiscreteFunctionSpaceType::RangeType RangeType
range type (from function space)
Definition: constantfunction.hh:627
const DiscreteFunctionSpaceType & space() const
See Dune::Fem::DiscreteFunctionInterface::space() const.
Definition: constantfunction.hh:689
TraitsType::EntityType EntityType
type of codim 0 entity
Definition: constantfunction.hh:634
LocalFunction LocalFunctionType
type of local function to export
Definition: constantfunction.hh:642
DiscreteFunctionSpaceType::GridType GridType
type of grid
Definition: constantfunction.hh:620
DiscreteFunctionSpaceType::HessianRangeType HessianRangeType
hessian type (from function space)
Definition: constantfunction.hh:631
DiscreteFunctionSpaceType::JacobianRangeType JacobianRangeType
jacobian type (from function space)
Definition: constantfunction.hh:629
A class providing some basic functionality common to all expressions.
Definition: gridfunctionexpressionbase.hh:35
A base class for zero function expression.
Definition: gridfunctionexpressionbase.hh:110
ZeroGridFunctionTraits< FunctionSpace, GridPart > TraitsType
type of traits
Definition: constantfunction.hh:359
ZeroGridFunction(const GridPart &grid)
Construct the ZeroGridFunction from its only constituent: the grid.
Definition: constantfunction.hh:400
void hessian(const DomainType &global, HessianRangeType &result) const
Evaluate hessian in global coordinates.
Definition: constantfunction.hh:419
DiscreteFunctionSpaceType::DomainType DomainType
domain type (from function space)
Definition: constantfunction.hh:378
const DiscreteFunctionSpaceType & space() const
See Dune::Fem::DiscreteFunctionInterface::space() const.
Definition: constantfunction.hh:437
void evaluate(const DomainType &global, RangeType &result) const
Evaluate function in global coordinates.
Definition: constantfunction.hh:407
DiscreteFunctionSpaceType::HessianRangeType HessianRangeType
hessian type (from function space)
Definition: constantfunction.hh:384
void jacobian(const DomainType &global, JacobianRangeType &result) const
Evaluate jacobian in global coordinates.
Definition: constantfunction.hh:413
LocalFunction LocalFunctionType
type of local function to export
Definition: constantfunction.hh:395
TraitsType::EntityType EntityType
type of codim 0 entity
Definition: constantfunction.hh:387
DiscreteFunctionSpaceType::RangeType RangeType
range type (from function space)
Definition: constantfunction.hh:380
const LocalFunctionType localFunction(const EntityType &entity) const
See Dune::Fem::DiscreteFunctionInterface::localFunction(const EntityType &entity) const.
Definition: constantfunction.hh:425
DiscreteFunctionSpaceType::DomainFieldType DomainFieldType
domain type (from function space)
Definition: constantfunction.hh:374
DiscreteFunctionSpaceType::JacobianRangeType JacobianRangeType
jacobian type (from function space)
Definition: constantfunction.hh:382
TraitsType::DiscreteFunctionSpaceType DiscreteFunctionSpaceType
type of discrete function space
Definition: constantfunction.hh:362
DiscreteFunctionSpaceType::GridType GridType
type of grid
Definition: constantfunction.hh:371
LocalFunctionType localFunction(const EntityType &entity)
See Dune::Fem::DiscreteFunctionInterface::localFunction(const EntityType &entity)
Definition: constantfunction.hh:431
DiscreteFunctionSpaceType::RangeFieldType RangeFieldType
range type (from function space)
Definition: constantfunction.hh:376
DiscreteFunctionSpaceType::GridPartType GridPartType
type of gridPart
Definition: constantfunction.hh:368
bool objectToString(const T &something, std::string &text)
Convert any object which has an associated output stream operator "<<" to a string,...
Definition: stringconversion.hh:20
A grid-function which is constant with a fractional value.
Definition: constantfunction.hh:549
GridPartType::template Codim< 0 >::IteratorType IteratorType
type of iterator
Definition: constantfunction.hh:565
GridPartType::IndexSetType IndexSetType
type of IndexSet
Definition: constantfunction.hh:567
Tag type, consequences are zero Jacobian and Hessian.
Definition: gridfunctionexpressionbase.hh:114
A grid-function tight to zero.
Definition: constantfunction.hh:324
GridPartType::IndexSetType IndexSetType
type of IndexSet
Definition: constantfunction.hh:342
GridPartType::template Codim< 0 >::IteratorType IteratorType
type of iterator
Definition: constantfunction.hh:340
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)