|
| CombinedDiscreteFunction (const ContainedDiscreteFunctionType &func) |
| Constructor.
|
|
| CombinedDiscreteFunction (const ThisType &other) |
|
| ~CombinedDiscreteFunction () |
| Destructor.
|
|
void | clear () |
| set all degrees of freedom to zero More...
|
|
void | assign (const ThisType &g) |
|
int | size () const |
| obtain total number of DoFs More...
|
|
ThisType & | operator+= (const ThisType &g) |
|
DiscreteFunctionType & | operator*= (const RangeFieldType &scalar) |
| multiply all DoFs by a scalar factor More...
|
|
DiscreteFunctionType & | operator/= (const RangeFieldType &scalar) |
| multiply all DoFs by a scalar factor More...
|
|
void | addScaled (const ThisType &g, const RangeFieldType &s) |
|
void | axpy (const RangeFieldType &s, const ThisType &g) |
| axpy operation More...
|
|
RangeFieldType | scalarProductDofs (const ThisType &other) const |
|
template<class StreamTraits > |
void | read (InStreamInterface< StreamTraits > &in) |
| read the discrete function from a stream More...
|
|
template<class StreamTraits > |
void | write (OutStreamInterface< StreamTraits > &out) const |
| write the discrete function into a stream More...
|
|
void | print (std ::ostream &out) const |
|
bool | dofsValid () const |
| check for NaNs More...
|
|
ConstDofIteratorType | dbegin () const |
| obtain an iterator pointing to the first DoF (read-only) More...
|
|
ConstDofIteratorType | dend () const |
| obtain an iterator pointing behind the last DoF (read-only) More...
|
|
DofIteratorType | dbegin () |
| obtain an iterator pointing to the first DoF (read-write) More...
|
|
DofIteratorType | dend () |
| obtain an iterator pointing behind the last DoF (read-write) More...
|
|
const std::string & | name () const |
| obtain the name of the discrete function More...
|
|
std::string & | name () |
| obtain the name of the discrete function More...
|
|
constexpr int | order () const |
| obtain an upper bound on the polynomial order of the underlying space. More...
|
|
bool | continuous () const |
| returns true if the space contains only globally continuous functions More...
|
|
const DiscreteFunctionSpaceType & | space () const |
| obtain a reference to the corresponding DiscreteFunctionSpace More...
|
|
const GridPartType & | gridPart () const |
| obtain a reference to the underlying grid part
|
|
LocalFunctionType | localFunction (const EntityType &entity) |
| obtain a local function for an entity (read-write) More...
|
|
const LocalFunctionType | localFunction (const EntityType &entity) const |
| obtain a local function for an entity (read-write) More...
|
|
LocalFunctionType | localFunction () |
| obtain an uninitialized local function (read-write) More...
|
|
const LocalFunctionType | localFunction () const |
| obtain an uninitialized local function (read-write) More...
|
|
int | blocks () const |
| obtain total number of blocks, i.e. size / blockSize. More...
|
|
void | axpy (const RangeFieldType &s, const DiscreteFunctionInterface< DFType > &g) |
| axpy operation More...
|
|
void | axpy (const RangeFieldType &s, const DiscreteFunctionInterfaceType &g) |
| axpy operation More...
|
|
RangeFieldType | scalarProductDofs (const DiscreteFunctionInterface< DFType > &other) const |
| Scalar product between the DoFs of two discrete functions. More...
|
|
Dune::FieldTraits< RangeFieldType >::real_type | normSquaredDofs () const |
| Squared small l^2 norm of all dofs. More...
|
|
void | assign (const DiscreteFunctionInterface< DFType > &g) |
|
CommDataHandle< Operation >::Type | dataHandle (const Operation &operation) |
| return reference to data handle object More...
|
|
void | communicate () |
| do default communication of space for this discrete function More...
|
|
void | evaluate (const DomainType &x, RangeType &value) const |
| evaluate the function 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 | 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 (const DomainType &x,HessianRangeType &hessian) const More...
|
|
void | hessian (const DomainType &x, HessianRangeType &hessian) const |
| evaluate the hessian of the function More...
|
|
DiscreteFunctionType & | operator+= (const DiscreteFunctionInterface< DFType > &g) |
| add another discrete function to this one More...
|
|
DiscreteFunctionType & | operator-= (const DiscreteFunctionInterface< DFType > &g) |
| substract all degrees of freedom from given discrete function using the dof iterators More...
|
|
void | enableDofCompression () |
| Enable this discrete function for dof compression, i.e. during grid changes a dof compression is done when the DofManagers compress is called. More...
|
|
void | addScaledLocalDofs (const EntityType &entity, const RangeFieldType &s, const LocalDofs &localDofs) |
| add scaled local Dofs to dof vector associated with the entity More...
|
|
void | addLocalDofs (const EntityType &entity, const LocalDofs &localDofs) |
| add local Dofs to dof vector associated with the entity More...
|
|
void | setLocalDofs (const EntityType &entity, const LocalDofs &localDofs) |
| set local Dofs to dof vector associated with the entity More...
|
|
void | getLocalDofs (const EntityType &entity, Vector &localDofs) const |
| fill local Dofs to dof vector associated with the entity More...
|
|
LocalDofVectorAllocatorType & | localDofVectorAllocator () const |
| obtain the local function storage More...
|
|
void | beginAssemble () |
| Initiate the assemble of values using the LocalContribution concept. More...
|
|
void | endAssemble (const bool communicate=true) |
| Finalize the assemble of values using the LocalContribution concept. More...
|
|
void | getLocalDofReferences (const EntityType &entity, LocalDofVectorType &localDofs) |
| get local Dofs and store a reference to it in the LocalDofVector
|
|
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...
|
|
|
(Note that these are not member functions.)
|
std::ostream & | operator<< (std::ostream &out, const DiscreteFunctionInterface< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > > &df) |
| write a discrete function into an STL stream More...
|
|
static Mapping< DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeType > | operator+ (const Mapping< DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeType > &a, const Mapping< DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeType > &b) |
| add two mappings More...
|
|
static Mapping< DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeType > | operator- (const Mapping< DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeType > &a, const Mapping< DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeType > &b) |
| substract two mappings More...
|
|
static Mapping< DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeType > | operator* (const Mapping< DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeType > &mapping, const DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeFieldType &factor) |
| scale mapping with factor More...
|
|
static Mapping< DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeType > | operator* (const DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeFieldType &factor, const Mapping< DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeType > &mapping) |
| scale mapping with factor More...
|
|
static Mapping< DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeType > | operator/ (const Mapping< DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeType > &mapping, const DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeFieldType &factor) |
| operator / for mappings More...
|
|
static Mapping< DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeType > | operator/ (const DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeFieldType &factor, const Mapping< DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeFieldType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::DomainType, DiscreteFunctionTraits< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionSpaceType::FunctionSpaceType ::RangeType > &mapping) |
| operator / for mappings More...
|
|
template<class ContainedDiscreteFunctionImp, int N>
class Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >
A class for combining N discrete function of the same type to a vector valued function