dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Related Functions | List of all members
Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > Class Template Reference

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

Inheritance diagram for Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >:
Inheritance graph

Public Types

typedef ContainedDiscreteFunctionImp ContainedDiscreteFunctionType
 Discrete function this discrete function belongs to.
 
typedef ContainedDiscreteFunctionType SubDiscreteFunctionType
 
typedef DiscreteFunctionTraits< ThisTypeTraits
 Traits class with all necessary type definitions.
 
typedef BaseType::GridType GridType
 Grid implementation.
 
typedef BaseType::GridPartType GridPartType
 GridPart implementation.
 
typedef BaseType::DiscreteFunctionType DiscreteFunctionType
 
typedef BaseType::DiscreteFunctionSpaceType DiscreteFunctionSpaceType
 the combined discrete function type
 
typedef Traits::ContainedDiscreteFunctionSpaceType ContainedDiscreteFunctionSpaceType
 Contained discrete function space.
 
typedef ContainedDiscreteFunctionSpaceType SubDiscreteFunctionSpaceType
 
typedef BaseType::DofType DofType
 Intrinsic type used for dofs (typically a float type)
 
typedef BaseType::RangeFieldType RangeFieldType
 Intrinsic type used for range field (like DofType)
 
typedef BaseType::DomainFieldType DomainFieldType
 Intrinsic type used for the domain field.
 
typedef BaseType::RangeType RangeType
 Vector type used for the range field.
 
typedef BaseType::DomainType DomainType
 Vector type used for the domain field.
 
typedef Traits::MapperType MapperType
 Mapper type (from the space)
 
typedef BaseType::DofIteratorType DofIteratorType
 Iterator over dof container.
 
typedef BaseType::ConstDofIteratorType ConstDofIteratorType
 Read-only iterator over dof container.
 
typedef BaseType::DofBlockPtrType DofBlockPtrType
 
typedef BaseType::ConstDofBlockPtrType ConstDofBlockPtrType
 
typedef BaseType::LocalDofVectorAllocatorType LocalDofVectorAllocatorType
 
typedef BaseType::DiscreteFunctionInterfaceType DiscreteFunctionInterfaceType
 
typedef DiscreteFunctionSpaceType::JacobianRangeType JacobianRangeType
 type of jacobian
 
typedef DiscreteFunctionSpaceType::HessianRangeType HessianRangeType
 type of hessian
 
typedef Traits::DofVectorType DofVectorType
 type of DofVector
 
typedef Traits::LocalDofVectorType LocalDofVectorType
 type of LocalDofVector
 
typedef BaseType::LocalFunctionType LocalFunctionType
 type of local functions
 
typedef LocalFunctionType::LocalCoordinateType LocalCoordinateType
 
typedef BaseType::DofBlockType DofBlockType
 
typedef BaseType::ConstDofBlockType ConstDofBlockType
 
typedef BaseType::EntityType EntityType
 
typedef DofVectorType::SizeType SizeType
 size type of the block vector
 
typedef DiscreteFunctionSpaceType::FunctionSpaceType FunctionSpaceType
 type of associated function space
 
typedef GridPartType::GridViewType GridView
 
typedef BaseType::MappingType MappingType
 type of mapping base class for this discrete function
 
typedef DiscreteFunctionSpaceType::LocalBlockIndices BlockIndices
 
typedef LoadBalanceLeafData< ThisTypeDefaultLoadBalanceContainsCheckType
 

Public Member Functions

 CombinedDiscreteFunction (const ContainedDiscreteFunctionType &func)
 Constructor.
 
 CombinedDiscreteFunction (const std::string &name, const ContainedDiscreteFunctionSpaceType &spc)
 
 CombinedDiscreteFunction (const std::string &name, const DiscreteFunctionSpaceType &spc)
 
 CombinedDiscreteFunction (const ThisType &other)
 
 ~CombinedDiscreteFunction ()
 Destructor.
 
 CombinedDiscreteFunction ()=delete
 
ThisTypeoperator= (const ThisType &)=delete
 
ThisTypeoperator= (ThisType &&)=delete
 
void clear ()
 set all degrees of freedom to zero
 
void assign (const ThisType &g)
 
int size () const
 obtain total number of DoFs
 
ThisTypeoperator+= (const ThisType &g)
 
ThisTypeoperator-= (const ThisType &g)
 
DiscreteFunctionTypeoperator*= (const RangeFieldType &scalar)
 multiply all DoFs by a scalar factor
 
DiscreteFunctionTypeoperator/= (const RangeFieldType &scalar)
 multiply all DoFs by a scalar factor
 
void addScaled (const ThisType &g, const RangeFieldType &s)
 
void axpy (const RangeFieldType &s, const ThisType &g)
 axpy operation
 
RangeFieldType scalarProductDofs (const ThisType &other) const
 
template<class StreamTraits >
void read (InStreamInterface< StreamTraits > &in)
 read the discrete function from a stream
 
template<class StreamTraits >
void write (OutStreamInterface< StreamTraits > &out) const
 write the discrete function into a stream
 
void print (std ::ostream &out) const
 
bool dofsValid () const
 check for NaNs
 
ConstDofBlockPtrType block (unsigned int index) const
 
DofBlockPtrType block (unsigned int index)
 
const RangeFieldTypedof (unsigned int index) const
 
RangeFieldTypedof (unsigned int index)
 
ConstDofIteratorType dbegin () const
 obtain an iterator pointing to the first DoF (read-only)
 
ConstDofIteratorType dend () const
 obtain an iterator pointing behind the last DoF (read-only)
 
DofIteratorType dbegin ()
 obtain an iterator pointing to the first DoF (read-write)
 
DofIteratorType dend ()
 obtain an iterator pointing behind the last DoF (read-write)
 
ContainedDiscreteFunctionTypesubFunction (const int i)
 
const ContainedDiscreteFunctionTypesubFunction (const int i) const
 
ContainedDiscreteFunctionSpaceTypesubSpace ()
 
const std::string & name () const
 obtain the name of the discrete function
 
std::string & name ()
 obtain the name of the discrete function
 
constexpr int order () const
 obtain an upper bound on the polynomial order of the underlying space.
 
bool continuous () const
 returns true if the space contains only globally continuous functions
 
const DiscreteFunctionSpaceTypespace () const
 obtain a reference to the corresponding DiscreteFunctionSpace
 
const GridPartTypegridPart () const
 obtain a reference to the underlying grid part
 
LocalFunctionType localFunction (const EntityType &entity)
 obtain a local function for an entity (read-write)
 
const LocalFunctionType localFunction (const EntityType &entity) const
 obtain a local function for an entity (read-write)
 
LocalFunctionType localFunction ()
 obtain an uninitialized local function (read-write)
 
const LocalFunctionType localFunction () const
 obtain an uninitialized local function (read-write)
 
DofVectorTypedofVector ()
 
const DofVectorTypedofVector () const
 
int blocks () const
 obtain total number of blocks, i.e. size / blockSize.
 
void axpy (const RangeFieldType &s, const DiscreteFunctionInterface< DFType > &g)
 
void axpy (const RangeFieldType &s, const DiscreteFunctionInterfaceType &g)
 
void axpy (const RangeFieldType &s, const DiscreteFunctionInterfaceType &g)
 axpy operation
 
RangeFieldType scalarProductDofs (const DiscreteFunctionInterface< DFType > &other) const
 Scalar product between the DoFs of two discrete functions.
 
Dune::FieldTraits< RangeFieldType >::real_type normSquaredDofs () const
 Squared small l^2 norm of all dofs.
 
void assign (const DiscreteFunctionInterface< DFType > &g)
 
CommDataHandle< Operation >::Type dataHandle (const Operation &operation)
 return reference to data handle object
 
DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::template CommDataHandle< Operation >::Type dataHandle (const Operation &operation)
 
void communicate ()
 do default communication of space for this discrete function
 
void evaluate (const DomainType &x, RangeType &value) const
 
void jacobian (const DomainType &x, JacobianRangeType &jacobian) const
 
void hessian (const DomainType &x, HessianRangeType &hessian) const
 evaluate the hessian of the function (const DomainType &x,HessianRangeType &hessian) const
 
DiscreteFunctionTypeoperator+= (const DiscreteFunctionInterface< DFType > &g)
 add another discrete function to this one
 
DiscreteFunctionTypeoperator-= (const DiscreteFunctionInterface< DFType > &g)
 substract all degrees of freedom from given discrete function using the dof iterators
 
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.
 
void addScaledLocalDofs (const EntityType &entity, const RangeFieldType &s, const LocalDofs &localDofs)
 add scaled local Dofs to dof vector associated with the entity
 
void addLocalDofs (const EntityType &entity, const LocalDofs &localDofs)
 add local Dofs to dof vector associated with the entity
 
void setLocalDofs (const EntityType &entity, const LocalDofs &localDofs)
 set local Dofs to dof vector associated with the entity
 
void getLocalDofs (const EntityType &entity, Vector &localDofs) const
 fill local Dofs to dof vector associated with the entity
 
bool compare (const DiscreteFunctionInterface< DFType > &g) const
 
LocalDofVectorAllocatorTypelocalDofVectorAllocator () const
 obtain the local function storage
 
void beginAssemble ()
 Initiate the assemble of values using the LocalContribution concept.
 
void endAssemble ()
 Finalize the assemble of values using the LocalContribution concept.
 
void getLocalDofReferences (const EntityType &entity, LocalDofVectorType &localDofs)
 get local Dofs and store a reference to it in the LocalDofVector
 
DefaultLoadBalanceContainsCheckType defaultLoadBalanceContainsCheck () const
 
void operator() (const DomainType &arg, RangeType &dest) const
 Application operator that applies all operators in the linear combination stack.
 

Static Public Attributes

static constexpr std::size_t blockSize
 size of the dof blocks
 

Protected Types

typedef ParallelScalarProduct< DiscreteFunctionInterfaceTypeScalarProductType
 
typedef TemporaryLocalFunction< DiscreteFunctionSpaceTypeTemporaryLocalFunctionType
 

Protected Member Functions

virtual void backup () const
 
virtual void restore ()
 
virtual void insertSubData ()
 
virtual void removeSubData ()
 
void evaluateGlobal (const DomainType &x, Functor functor) const
 evaluate functor in global coordinate
 
const Implementation & asImp () const
 
Implementation & asImp ()
 
virtual void * pointer ()
 

Static Protected Member Functions

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

Protected Attributes

std::shared_ptr< const DiscreteFunctionSpaceTypedfSpace_
 
LocalDofVectorAllocatorType ldvAllocator_
 
TemporaryLocalFunctionType localFunction_
 
std::string name_
 
ScalarProductType scalarProduct_
 
std::type_index assembleOperation_
 
std::size_t assembleCount_
 

Related Functions

(Note that these are not member functions.)

template<class Impl >
std::ostream & operator<< (std::ostream &out, const DiscreteFunctionInterface< Impl > &df)
 write a discrete function into an STL stream
 
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
 

Detailed Description

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

Member Typedef Documentation

◆ BlockIndices

template<class Impl >
typedef DiscreteFunctionSpaceType::LocalBlockIndices Dune::Fem::DiscreteFunctionInterface< Impl >::BlockIndices
inherited

◆ ConstDofBlockPtrType

template<class ContainedDiscreteFunctionImp , int N>
typedef BaseType::ConstDofBlockPtrType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::ConstDofBlockPtrType

◆ ConstDofBlockType

typedef BaseType::ConstDofBlockType Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::ConstDofBlockType
inherited

◆ ConstDofIteratorType

template<class ContainedDiscreteFunctionImp , int N>
typedef BaseType::ConstDofIteratorType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::ConstDofIteratorType

Read-only iterator over dof container.

◆ ContainedDiscreteFunctionSpaceType

template<class ContainedDiscreteFunctionImp , int N>
typedef Traits::ContainedDiscreteFunctionSpaceType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::ContainedDiscreteFunctionSpaceType

Contained discrete function space.

◆ ContainedDiscreteFunctionType

template<class ContainedDiscreteFunctionImp , int N>
typedef ContainedDiscreteFunctionImp Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::ContainedDiscreteFunctionType

Discrete function this discrete function belongs to.

◆ DefaultLoadBalanceContainsCheckType

template<class Impl >
typedef LoadBalanceLeafData< ThisType > Dune::Fem::DiscreteFunctionInterface< Impl >::DefaultLoadBalanceContainsCheckType
inherited

◆ DiscreteFunctionInterfaceType

typedef BaseType::DiscreteFunctionInterfaceType Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionInterfaceType
inherited

◆ DiscreteFunctionSpaceType

template<class ContainedDiscreteFunctionImp , int N>
typedef BaseType::DiscreteFunctionSpaceType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::DiscreteFunctionSpaceType

the combined discrete function type

◆ DiscreteFunctionType

template<class ContainedDiscreteFunctionImp , int N>
typedef BaseType::DiscreteFunctionType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::DiscreteFunctionType

Discrete function type (identical to this type, needed as Barton-Nackman parameter

◆ DofBlockPtrType

template<class ContainedDiscreteFunctionImp , int N>
typedef BaseType::DofBlockPtrType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::DofBlockPtrType

◆ DofBlockType

typedef BaseType::DofBlockType Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DofBlockType
inherited

◆ DofIteratorType

template<class ContainedDiscreteFunctionImp , int N>
typedef BaseType::DofIteratorType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::DofIteratorType

Iterator over dof container.

◆ DofType

template<class ContainedDiscreteFunctionImp , int N>
typedef BaseType::DofType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::DofType

Intrinsic type used for dofs (typically a float type)

◆ DofVectorType

typedef Traits::DofVectorType Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DofVectorType
inherited

type of DofVector

◆ DomainFieldType

template<class ContainedDiscreteFunctionImp , int N>
typedef BaseType::DomainFieldType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::DomainFieldType

Intrinsic type used for the domain field.

◆ DomainType

template<class ContainedDiscreteFunctionImp , int N>
typedef BaseType::DomainType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::DomainType

Vector type used for the domain field.

◆ EntityType

typedef BaseType::EntityType Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::EntityType
inherited

◆ FunctionSpaceType

template<class Impl >
typedef DiscreteFunctionSpaceType::FunctionSpaceType Dune::Fem::DiscreteFunctionInterface< Impl >::FunctionSpaceType
inherited

type of associated function space

◆ GridPartType

template<class ContainedDiscreteFunctionImp , int N>
typedef BaseType::GridPartType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::GridPartType

GridPart implementation.

◆ GridType

template<class ContainedDiscreteFunctionImp , int N>
typedef BaseType::GridType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::GridType

Grid implementation.

◆ GridView

template<class Impl >
typedef GridPartType::GridViewType Dune::Fem::DiscreteFunctionInterface< Impl >::GridView
inherited

◆ HessianRangeType

typedef DiscreteFunctionSpaceType::HessianRangeType Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::HessianRangeType
inherited

type of hessian

◆ JacobianRangeType

typedef DiscreteFunctionSpaceType::JacobianRangeType Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::JacobianRangeType
inherited

type of jacobian

◆ LocalCoordinateType

typedef LocalFunctionType::LocalCoordinateType Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::LocalCoordinateType
inherited

◆ LocalDofVectorAllocatorType

template<class ContainedDiscreteFunctionImp , int N>
typedef BaseType::LocalDofVectorAllocatorType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::LocalDofVectorAllocatorType

◆ LocalDofVectorType

typedef Traits::LocalDofVectorType Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::LocalDofVectorType
inherited

type of LocalDofVector

◆ LocalFunctionType

typedef BaseType::LocalFunctionType Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::LocalFunctionType
inherited

type of local functions

◆ MapperType

template<class ContainedDiscreteFunctionImp , int N>
typedef Traits::MapperType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::MapperType

Mapper type (from the space)

◆ MappingType

template<class Impl >
typedef BaseType::MappingType Dune::Fem::DiscreteFunctionInterface< Impl >::MappingType
inherited

type of mapping base class for this discrete function

◆ RangeFieldType

template<class ContainedDiscreteFunctionImp , int N>
typedef BaseType::RangeFieldType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::RangeFieldType

Intrinsic type used for range field (like DofType)

◆ RangeType

template<class ContainedDiscreteFunctionImp , int N>
typedef BaseType::RangeType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::RangeType

Vector type used for the range field.

◆ ScalarProductType

typedef ParallelScalarProduct< DiscreteFunctionInterfaceType > Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::ScalarProductType
protectedinherited

◆ SizeType

typedef DofVectorType::SizeType Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::SizeType
inherited

size type of the block vector

◆ SubDiscreteFunctionSpaceType

template<class ContainedDiscreteFunctionImp , int N>
typedef ContainedDiscreteFunctionSpaceType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::SubDiscreteFunctionSpaceType

◆ SubDiscreteFunctionType

template<class ContainedDiscreteFunctionImp , int N>
typedef ContainedDiscreteFunctionType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::SubDiscreteFunctionType

◆ TemporaryLocalFunctionType

typedef TemporaryLocalFunction< DiscreteFunctionSpaceType > Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::TemporaryLocalFunctionType
protectedinherited

◆ Traits

template<class ContainedDiscreteFunctionImp , int N>
typedef DiscreteFunctionTraits< ThisType > Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::Traits

Traits class with all necessary type definitions.

Constructor & Destructor Documentation

◆ CombinedDiscreteFunction() [1/5]

template<class ContainedDiscreteFunctionImp , int N>
Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::CombinedDiscreteFunction ( const ContainedDiscreteFunctionType func)
inline

Constructor.

◆ CombinedDiscreteFunction() [2/5]

template<class ContainedDiscreteFunctionImp , int N>
Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::CombinedDiscreteFunction ( const std::string &  name,
const ContainedDiscreteFunctionSpaceType spc 
)
inline

◆ CombinedDiscreteFunction() [3/5]

template<class ContainedDiscreteFunctionImp , int N>
Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::CombinedDiscreteFunction ( const std::string &  name,
const DiscreteFunctionSpaceType spc 
)
inline

◆ CombinedDiscreteFunction() [4/5]

template<class ContainedDiscreteFunctionImp , int N>
Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::CombinedDiscreteFunction ( const ThisType other)
inline

Copy constructor The copy constructor copies the dofs

◆ ~CombinedDiscreteFunction()

template<class ContainedDiscreteFunctionImp , int N>
Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::~CombinedDiscreteFunction ( )
inline

Destructor.

◆ CombinedDiscreteFunction() [5/5]

template<class ContainedDiscreteFunctionImp , int N>
Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::CombinedDiscreteFunction ( )
delete

Member Function Documentation

◆ addLocalDofs()

void Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::addLocalDofs ( const EntityType entity,
const LocalDofs &  localDofs 
)
inlineinherited

add local Dofs to dof vector associated with the entity

Parameters
[in]entityEntity to focus view of discrete function
[in]localDofsthe local dofs vector to be added

◆ addScaled()

template<class ContainedDiscreteFunctionImp , int N>
void Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::addScaled ( const ThisType g,
const RangeFieldType s 
)
inline

◆ addScaledLocalDofs()

void Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::addScaledLocalDofs ( const EntityType entity,
const RangeFieldType s,
const LocalDofs &  localDofs 
)
inlineinherited

add scaled local Dofs to dof vector associated with the entity

Parameters
[in]entityEntity to focus view of discrete function
[in]sscaling factor
[in]localDofsthe local dofs vector to be added

◆ asImp() [1/4]

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

◆ asImp() [2/4]

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

◆ asImp() [3/4]

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

◆ asImp() [4/4]

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

◆ assign() [1/2]

void Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::assign ( const DiscreteFunctionInterface< DFType > &  g)
inlineinherited

◆ assign() [2/2]

template<class ContainedDiscreteFunctionImp , int N>
void Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::assign ( const ThisType g)
inline

◆ axpy() [1/4]

void Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::axpy ( const RangeFieldType s,
const DiscreteFunctionInterface< DFType > &  g 
)
inlineinherited

◆ axpy() [2/4]

template<class Impl >
void Dune::Fem::DiscreteFunctionInterface< Impl >::axpy ( const RangeFieldType s,
const DiscreteFunctionInterfaceType g 
)
inlineinherited

axpy operation

Adds s * g to this discrete function.

Parameters
[in]sscalar value to scale g with
[in]gdiscrete function to add

◆ axpy() [3/4]

void Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::axpy ( const RangeFieldType s,
const DiscreteFunctionInterfaceType g 
)
inlineinherited

◆ axpy() [4/4]

template<class ContainedDiscreteFunctionImp , int N>
void Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::axpy ( const RangeFieldType s,
const ThisType g 
)
inline

axpy operation

Adds s * g to this discrete function.

Parameters
[in]sscalar value to scale g with
[in]gdiscrete function to add

◆ backup()

virtual void Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::backup ( ) const
inlineprotectedvirtualinherited

◆ beginAssemble()

void Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::beginAssemble ( )
inlineinherited

Initiate the assemble of values using the LocalContribution concept.

Template Parameters
AssembleOperationthe specific operation (Add, Set, ...)

◆ block() [1/2]

template<class ContainedDiscreteFunctionImp , int N>
DofBlockPtrType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::block ( unsigned int  index)
inline

◆ block() [2/2]

template<class ContainedDiscreteFunctionImp , int N>
ConstDofBlockPtrType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::block ( unsigned int  index) const
inline

◆ blocks()

int Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::blocks ( ) const
inlineinherited

obtain total number of blocks, i.e. size / blockSize.

The number of blocks of DoFs (degrees of freedom) can also be seen as the size of the discrete function divided by the blockSize.

Returns
total number of DoFs blocks

◆ clear()

template<class ContainedDiscreteFunctionImp , int N>
void Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::clear ( )
inline

set all degrees of freedom to zero

◆ communicate()

void Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::communicate ( )
inlineinherited

do default communication of space for this discrete function

◆ compare()

bool Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::compare ( const DiscreteFunctionInterface< DFType > &  g) const
inlineinherited

◆ continuous()

bool Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::continuous ( ) const
inlineinherited

returns true if the space contains only globally continuous functions

For example, a Lagrange space returns true while a discontiuous Galerkin space returns false.

Returns
true if the space contians only globally continous functions, false otherwise

◆ dataHandle() [1/2]

CommDataHandle< Operation >::Type Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::dataHandle ( const Operation &  operation)
inherited

return reference to data handle object

◆ dataHandle() [2/2]

DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::template CommDataHandle< Operation >::Type Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::dataHandle ( const Operation &  operation)
inlineinherited

◆ dbegin() [1/2]

template<class ContainedDiscreteFunctionImp , int N>
DofIteratorType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::dbegin ( )
inline

obtain an iterator pointing to the first DoF (read-write)

Returns
a DoF iterator pointing to first DoF (degre of freedom)

◆ dbegin() [2/2]

template<class ContainedDiscreteFunctionImp , int N>
ConstDofIteratorType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::dbegin ( ) const
inline

obtain an iterator pointing to the first DoF (read-only)

Returns
a DoF iterator pointing to first DoF (degre of freedom)

◆ defaultLoadBalanceContainsCheck()

template<class Impl >
DefaultLoadBalanceContainsCheckType Dune::Fem::DiscreteFunctionInterface< Impl >::defaultLoadBalanceContainsCheck ( ) const
inlineinherited

◆ dend() [1/2]

template<class ContainedDiscreteFunctionImp , int N>
DofIteratorType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::dend ( )
inline

obtain an iterator pointing behind the last DoF (read-write)

Returns
a DoF iterator pointing behind the last DoF (degree of freedom)

◆ dend() [2/2]

template<class ContainedDiscreteFunctionImp , int N>
ConstDofIteratorType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::dend ( ) const
inline

obtain an iterator pointing behind the last DoF (read-only)

Returns
a DoF iterator pointing behind the last DoF (degree of freedom)

◆ dof() [1/2]

template<class ContainedDiscreteFunctionImp , int N>
RangeFieldType & Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::dof ( unsigned int  index)
inline

◆ dof() [2/2]

template<class ContainedDiscreteFunctionImp , int N>
const RangeFieldType & Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::dof ( unsigned int  index) const
inline

◆ dofsValid()

template<class ContainedDiscreteFunctionImp , int N>
bool Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::dofsValid ( ) const
inline

check for NaNs

Returns
if one of the DoFs is NaN false is returned, otherwise true

◆ dofVector() [1/2]

DofVectorType & Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::dofVector ( )
inlineinherited

◆ dofVector() [2/2]

const DofVectorType & Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::dofVector ( ) const
inlineinherited

◆ enableDofCompression()

void Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::enableDofCompression ( )
inlineinherited

Enable this discrete function for dof compression, i.e. during grid changes a dof compression is done when the DofManagers compress is called.

Note
The default implementation does nothing.

◆ endAssemble()

void Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::endAssemble ( )
inlineinherited

Finalize the assemble of values using the LocalContribution concept.

Template Parameters
AssembleOperationthe specific operation (Add, Set, ...)

◆ evaluate()

void Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::evaluate ( const DomainType x,
RangeType value 
) const
inlineinherited

◆ evaluateGlobal()

void Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::evaluateGlobal ( const DomainType x,
Functor  functor 
) const
inlineprotectedinherited

evaluate functor in global coordinate

◆ getLocalDofReferences()

void Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::getLocalDofReferences ( const EntityType entity,
LocalDofVectorType localDofs 
)
inlineinherited

get local Dofs and store a reference to it in the LocalDofVector

◆ getLocalDofs()

void Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::getLocalDofs ( const EntityType entity,
Vector &  localDofs 
) const
inlineinherited

fill local Dofs to dof vector associated with the entity

Parameters
[in]entityEntity to focus view of discrete function
[out]localDofsthe local dofs vector to be set
Note
localDofs should have sufficient size to store the dof values

◆ gridPart()

const GridPartType & Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::gridPart ( ) const
inlineinherited

obtain a reference to the underlying grid part

◆ hessian()

void Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::hessian ( const DomainType x,
HessianRangeType hessian 
) const
inlineinherited

evaluate the hessian of the function (const DomainType &x,HessianRangeType &hessian) const

Parameters
[in]xevaluation point
[out]hessianvalue of the hessian in x (const DomainType &x,HessianRangeType &hessian) const

◆ insertSubData()

void Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::insertSubData
protectedvirtualinherited

Reimplemented from Dune::Fem::PersistentObject.

◆ jacobian()

void Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::jacobian ( const DomainType x,
JacobianRangeType jacobian 
) const
inlineinherited

◆ localDofVectorAllocator()

LocalDofVectorAllocatorType & Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::localDofVectorAllocator ( ) const
inlineinherited

obtain the local function storage

Returns
a reference to the local function storage

◆ localFunction() [1/4]

LocalFunctionType Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::localFunction ( )
inlineinherited

obtain an uninitialized local function (read-write)

Note
before calling any method of the local function initialize it passing an entity
Returns
an uninitialized local function

◆ localFunction() [2/4]

const LocalFunctionType Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::localFunction ( ) const
inlineinherited

obtain an uninitialized local function (read-write)

Note
before calling any method of the local function initialize it passing an entity
Returns
an uninitialized local function

◆ localFunction() [3/4]

LocalFunctionType Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::localFunction ( const EntityType entity)
inlineinherited

◆ localFunction() [4/4]

const LocalFunctionType Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::localFunction ( const EntityType entity) const
inlineinherited

◆ name() [1/2]

std::string & Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::name ( )
inlineinherited

obtain the name of the discrete function

Returns
string holding name of discrete function

◆ name() [2/2]

const std::string & Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::name ( ) const
inlineinherited

obtain the name of the discrete function

Returns
string holding name of discrete function

◆ normSquaredDofs()

Dune::FieldTraits< RangeFieldType >::real_type Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::normSquaredDofs ( ) const
inlineinherited

Squared small l^2 norm of all dofs.

Note
This is already parallel, so do not sum over all processes after calling scalarProductDofs!
It is assumed that the discrete function has been communicated (i.e., every local DoF hat the value of the corresponding global DoF).
Returns
the squared norm of the DoF-vectors

◆ operator()()

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

◆ operator*=()

template<class ContainedDiscreteFunctionImp , int N>
DiscreteFunctionType & Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::operator*= ( const RangeFieldType scalar)
inline

multiply all DoFs by a scalar factor

Parameters
[in]scalarfactor to muliply all DoFs by
Returns
a reference to this discrete function (i.e. *this)

◆ operator+=() [1/2]

DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionType & Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::operator+= ( const DiscreteFunctionInterface< DFType > &  g)
inlineinherited

add another discrete function to this one

Parameters
[in]gdiscrete function to add
Returns
a reference to this discrete function (i.e. *this)

◆ operator+=() [2/2]

template<class ContainedDiscreteFunctionImp , int N>
ThisType & Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::operator+= ( const ThisType g)
inline

◆ operator-=() [1/2]

DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::DiscreteFunctionType & Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::operator-= ( const DiscreteFunctionInterface< DFType > &  g)
inlineinherited

substract all degrees of freedom from given discrete function using the dof iterators

Parameters
[in]gdiscrete function which is substracted from this discrete function
Returns
reference to this (i.e. *this)

◆ operator-=() [2/2]

template<class ContainedDiscreteFunctionImp , int N>
ThisType & Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::operator-= ( const ThisType g)
inline

◆ operator/=()

template<class ContainedDiscreteFunctionImp , int N>
DiscreteFunctionType & Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::operator/= ( const RangeFieldType scalar)
inline

multiply all DoFs by a scalar factor

Parameters
[in]scalarfactor to muliply all DoFs by
Returns
a reference to this discrete function (i.e. *this)

◆ operator=() [1/2]

template<class ContainedDiscreteFunctionImp , int N>
ThisType & Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::operator= ( const ThisType )
delete

◆ operator=() [2/2]

template<class ContainedDiscreteFunctionImp , int N>
ThisType & Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::operator= ( ThisType &&  )
delete

◆ order()

constexpr int Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::order ( ) const
inlineconstexprinherited

obtain an upper bound on the polynomial order of the underlying space.

◆ pointer()

virtual void * Dune::Fem::PersistentObject::pointer ( )
inlineprotectedvirtualinherited

◆ print()

template<class ContainedDiscreteFunctionImp , int N>
void Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::print ( std ::ostream &  out) const
inline

◆ read()

template<class ContainedDiscreteFunctionImp , int N>
template<class StreamTraits >
void Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::read ( InStreamInterface< StreamTraits > &  in)
inline

read the discrete function from a stream

Parameters
[in]instream to read the discrete function from
Note
This call will automatically enable dof compression for this discrete function.

◆ removeSubData()

void Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::removeSubData
protectedvirtualinherited

Reimplemented from Dune::Fem::PersistentObject.

◆ restore()

virtual void Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::restore ( )
inlineprotectedvirtualinherited

◆ scalarProductDofs() [1/2]

RangeFieldType Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::scalarProductDofs ( const DiscreteFunctionInterface< DFType > &  other) const
inlineinherited

Scalar product between the DoFs of two discrete functions.

Note
This is a parallel scalar product, so do not sum over all processes after calling scalarProductDofs!
It is assumed that the discrete function has been communicated (i.e., every local DoF hat the value of the corresponding global DoF).
Parameters
[in]otherdiscrete function to evaluate the scalar product with
Returns
the scalar product of the DoF-vectors

◆ scalarProductDofs() [2/2]

template<class ContainedDiscreteFunctionImp , int N>
RangeFieldType Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::scalarProductDofs ( const ThisType other) const
inline

◆ setLocalDofs()

void Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::setLocalDofs ( const EntityType entity,
const LocalDofs &  localDofs 
)
inlineinherited

set local Dofs to dof vector associated with the entity

Parameters
[in]entityEntity to focus view of discrete function
[in]localDofsthe local dofs vector to be set

◆ size()

template<class ContainedDiscreteFunctionImp , int N>
int Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::size ( ) const
inline

obtain total number of DoFs

The number of DoFs (degrees of freedom) can also be seen as the size of the discrete function, i.e., the size of the vector that forms this discrete funciton.

Returns
total number of DoFs for this discrete function

◆ space()

const DiscreteFunctionSpaceType & Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::space ( ) const
inlineinherited

obtain a reference to the corresponding DiscreteFunctionSpace

◆ subFunction() [1/2]

template<class ContainedDiscreteFunctionImp , int N>
ContainedDiscreteFunctionType & Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::subFunction ( const int  i)
inline

◆ subFunction() [2/2]

template<class ContainedDiscreteFunctionImp , int N>
const ContainedDiscreteFunctionType & Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::subFunction ( const int  i) const
inline

◆ subSpace()

template<class ContainedDiscreteFunctionImp , int N>
ContainedDiscreteFunctionSpaceType & Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::subSpace ( )
inline

◆ write()

template<class ContainedDiscreteFunctionImp , int N>
template<class StreamTraits >
void Dune::Fem::CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N >::write ( OutStreamInterface< StreamTraits > &  out) const
inline

write the discrete function into a stream

Parameters
[in]outstream to write the discrete function to

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

◆ operator<<()

template<class Impl >
std::ostream & operator<< ( std ::ostream &  out,
const DiscreteFunctionInterface< Impl > &  df 
)
related

write a discrete function into an STL stream

Parameters
[in]outSTL stream to write to
[in]dfdiscrete function to write
Returns
the STL stream (for concatenation)

Member Data Documentation

◆ assembleCount_

std::size_t Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::assembleCount_
protectedinherited

◆ assembleOperation_

std::type_index Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::assembleOperation_
protectedinherited

◆ blockSize

constexpr std::size_t Dune::Fem::DiscreteFunctionInterface< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::blockSize
staticconstexprinherited

size of the dof blocks

◆ dfSpace_

std::shared_ptr< const DiscreteFunctionSpaceType > Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::dfSpace_
protectedinherited

◆ ldvAllocator_

LocalDofVectorAllocatorType Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::ldvAllocator_
mutableprotectedinherited

◆ localFunction_

TemporaryLocalFunctionType Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::localFunction_
mutableprotectedinherited

◆ name_

std::string Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::name_
protectedinherited

◆ scalarProduct_

ScalarProductType Dune::Fem::DiscreteFunctionDefault< CombinedDiscreteFunction< ContainedDiscreteFunctionImp, N > >::scalarProduct_
protectedinherited

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