1 #ifndef DUNE_FEM_BLOCKVECTORFUNCTION_HH
2 #define DUNE_FEM_BLOCKVECTORFUNCTION_HH
36 template <
class DiscreteFunctionSpace,
class Block >
int size() const
return size of underlying array
Definition: dofmanager.hh:334
BlockMapperType & mapper() const
Definition: dofmanager.hh:429
Definition: bindguard.hh:11
MutableLocalFunction< DiscreteFunctionType > LocalFunctionType
Definition: blockvectorfunction/blockvectorfunction.hh:31
ISTLBlockVectorDiscreteFunction< DiscreteFunctionSpace, Block > DiscreteFunctionType
Definition: blockvectorfunction/blockvectorfunction.hh:30
Definition: blockvectorfunction/blockvectorfunction.hh:39
BaseType ::GridType GridType
Definition: blockvectorfunction/blockvectorfunction.hh:45
BaseType ::ScalarProductType ScalarProductType
Definition: blockvectorfunction/blockvectorfunction.hh:51
ThisType & operator=(const ThisType &)=delete
ISTLBlockVectorDiscreteFunction(const std::string &name, const DiscreteFunctionSpaceType &space)
Constructor to use if the vector storing the dofs does not exist yet.
Definition: blockvectorfunction/blockvectorfunction.hh:61
BaseType ::DofType DofType
Definition: blockvectorfunction/blockvectorfunction.hh:47
void enableDofCompression()
Enable this discrete function for dof compression, i.e. during grid changes a dof compression is done...
Definition: blockvectorfunction/blockvectorfunction.hh:103
BaseType ::DofVectorType DofVectorType
Definition: blockvectorfunction/blockvectorfunction.hh:46
DofVectorType & allocateDofStorage(const DiscreteFunctionSpaceType &space, DofContainerType *otherData=nullptr)
Definition: blockvectorfunction/blockvectorfunction.hh:176
DofVectorType & dofVector()
Definition: blockvectorfunction/blockvectorfunction.hh:123
DofVectorType & dofVector_
Definition: blockvectorfunction/blockvectorfunction.hh:186
ISTLBlockVectorDiscreteFunction(const ThisType &other)
Copy constructor.
Definition: blockvectorfunction/blockvectorfunction.hh:83
DofContainerType & blockVector()
convenience method for usage with ISTL solvers
Definition: blockvectorfunction/blockvectorfunction.hh:117
BaseType ::DiscreteFunctionSpaceType DiscreteFunctionSpaceType
Definition: blockvectorfunction/blockvectorfunction.hh:44
std::unique_ptr< ISTLDofStorage > memObject_
Definition: blockvectorfunction/blockvectorfunction.hh:183
ISTLBlockVectorDiscreteFunction(const std::string &name, const DiscreteFunctionSpaceType &space, const DofContainerType &dofVector)
Constructor to use if the vector storing the dofs already exists.
Definition: blockvectorfunction/blockvectorfunction.hh:74
ISTLBlockVectorDiscreteFunction()=delete
const std::string & name() const
obtain the name of the discrete function
Definition: common/discretefunction.hh:685
ScalarProductType & scalarProduct()
returns ScalarProduct to be used with ISTLInverseOp
Definition: blockvectorfunction/blockvectorfunction.hh:129
DofContainerType DofStorageType
Definition: blockvectorfunction/blockvectorfunction.hh:49
const DofVectorType & dofVector() const
Definition: blockvectorfunction/blockvectorfunction.hh:126
const DofContainerType & blockVector() const
convenience method for usage with ISTL solvers
Definition: blockvectorfunction/blockvectorfunction.hh:120
DiscreteFunctionSpaceType ::BlockMapperType BlockMapperType
Definition: blockvectorfunction/blockvectorfunction.hh:134
ISTLBlockVectorDiscreteFunction(ThisType &&other)
Move constructor.
Definition: blockvectorfunction/blockvectorfunction.hh:92
DofVectorType ::DofContainerType DofContainerType
Definition: blockvectorfunction/blockvectorfunction.hh:48
void assign(const DiscreteFunctionType &g)
Definition: common/discretefunction.hh:809
Definition: blockvectorfunction/blockvectorfunction.hh:141
DofVectorType myArray_
Definition: blockvectorfunction/blockvectorfunction.hh:147
std::unique_ptr< DofContainerType > myDofContainer_
Definition: blockvectorfunction/blockvectorfunction.hh:145
DofContainerType * createData(const size_t size, DofContainerType *otherData)
Definition: blockvectorfunction/blockvectorfunction.hh:149
ISTLDofStorage(const GridType &grid, const BlockMapperType &mapper, DofContainerType *otherData=nullptr)
Constructor of ManagedDofStorage.
Definition: blockvectorfunction/blockvectorfunction.hh:165
Traits class for a DiscreteFunction.
Definition: common/discretefunction.hh:61
Definition: common/discretefunction.hh:578
ScalarProductType scalarProduct_
Definition: common/discretefunction.hh:1040
const std::string & name() const
obtain the name of the discrete function
Definition: common/discretefunction.hh:685
BaseType::DiscreteFunctionSpaceType DiscreteFunctionSpaceType
type of discrete function space
Definition: common/discretefunction.hh:600
void assign(const DiscreteFunctionInterface< DFType > &g)
Definition: discretefunction_inline.hh:133
const DiscreteFunctionSpaceType & space() const
obtain a reference to the corresponding DiscreteFunctionSpace
Definition: common/discretefunction.hh:703
ParallelScalarProduct< DiscreteFunctionInterfaceType > ScalarProductType
Definition: common/discretefunction.hh:596
BaseType ::DofType DofType
Definition: common/discretefunction.hh:643
Traits ::DofVectorType DofVectorType
type of DofVector
Definition: common/discretefunction.hh:625
DiscreteFunctionSpaceType ::GridType GridType
type of the underlying grid
Definition: common/discretefunction.hh:122
Definition: common/discretefunction.hh:1064
Definition: cachedcommmanager.hh:47
Definition: dofmanager.hh:271