1 #ifndef DUNE_FEM_BLOCKVECTORFUNCTION_HH
2 #define DUNE_FEM_BLOCKVECTORFUNCTION_HH
36 template <
class DiscreteFunctionSpace,
class Block >
128 std::string
name(
"deprecated");
130 std::pair< DofStorageInterface*, DofContainerType* > memPair
136 return *(memPair.second);
static std::pair< DofStorageInterface *, DofStorageType * > allocateManagedDofStorage(const GridType &grid, const MapperType &mapper, const std::string &name, const DofStorageType *=0)
default implementation for creating a managed dof storage
Definition: dofmanager.hh:626
Definition: bindguard.hh:11
MutableLocalFunction< DiscreteFunctionType > LocalFunctionType
Definition: function/blockvectorfunction/blockvectorfunction.hh:31
ISTLBlockVectorDiscreteFunction< DiscreteFunctionSpace, Block > DiscreteFunctionType
Definition: function/blockvectorfunction/blockvectorfunction.hh:30
Definition: function/blockvectorfunction/blockvectorfunction.hh:39
BaseType ::ScalarProductType ScalarProductType
Definition: function/blockvectorfunction/blockvectorfunction.hh:50
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: function/blockvectorfunction/blockvectorfunction.hh:59
BaseType ::DofType DofType
Definition: function/blockvectorfunction/blockvectorfunction.hh:46
void enableDofCompression()
Enable this discrete function for dof compression, i.e. during grid changes a dof compression is done...
Definition: function/blockvectorfunction/blockvectorfunction.hh:101
BaseType ::DofVectorType DofVectorType
Definition: function/blockvectorfunction/blockvectorfunction.hh:45
DofVectorType & dofVector()
Definition: function/blockvectorfunction/blockvectorfunction.hh:114
ISTLBlockVectorDiscreteFunction(const ThisType &other)
Copy constructor.
Definition: function/blockvectorfunction/blockvectorfunction.hh:81
DofContainerType & blockVector()
convenience method for usage with ISTL solvers
Definition: function/blockvectorfunction/blockvectorfunction.hh:108
BaseType ::DiscreteFunctionSpaceType DiscreteFunctionSpaceType
Definition: function/blockvectorfunction/blockvectorfunction.hh:44
ISTLBlockVectorDiscreteFunction(const std::string &name, const DiscreteFunctionSpaceType &space, const DofContainerType &dofVector)
Constructor to use if the vector storing the dofs already exists.
Definition: function/blockvectorfunction/blockvectorfunction.hh:72
DofVectorType dofVector_
Definition: function/blockvectorfunction/blockvectorfunction.hh:143
ISTLBlockVectorDiscreteFunction()=delete
std::unique_ptr< DofStorageInterface > memObject_
Definition: function/blockvectorfunction/blockvectorfunction.hh:140
ScalarProductType & scalarProduct()
returns ScalarProduct to be used with ISTLInverseOp
Definition: function/blockvectorfunction/blockvectorfunction.hh:120
DofContainerType DofStorageType
Definition: function/blockvectorfunction/blockvectorfunction.hh:48
const DofVectorType & dofVector() const
Definition: function/blockvectorfunction/blockvectorfunction.hh:117
const DofContainerType & blockVector() const
convenience method for usage with ISTL solvers
Definition: function/blockvectorfunction/blockvectorfunction.hh:111
ISTLBlockVectorDiscreteFunction(ThisType &&other)
Move constructor.
Definition: function/blockvectorfunction/blockvectorfunction.hh:90
DofVectorType ::DofContainerType DofContainerType
Definition: function/blockvectorfunction/blockvectorfunction.hh:47
DofContainerType & allocateDofStorage(const DiscreteFunctionSpaceType &space)
Definition: function/blockvectorfunction/blockvectorfunction.hh:126
void assign(const DiscreteFunctionType &g)
Definition: common/discretefunction.hh:764
Traits class for a DiscreteFunction.
Definition: common/discretefunction.hh:60
Definition: common/discretefunction.hh:539
ScalarProductType scalarProduct_
Definition: common/discretefunction.hh:989
const std::string & name() const
obtain the name of the discrete function
Definition: common/discretefunction.hh:644
BaseType::DiscreteFunctionSpaceType DiscreteFunctionSpaceType
type of discrete function space
Definition: common/discretefunction.hh:561
void assign(const DiscreteFunctionInterface< DFType > &g)
Definition: discretefunction_inline.hh:128
const DiscreteFunctionSpaceType & space() const
obtain a reference to the corresponding DiscreteFunctionSpace
Definition: common/discretefunction.hh:662
ParallelScalarProduct< DiscreteFunctionInterfaceType > ScalarProductType
Definition: common/discretefunction.hh:557
BaseType ::DofType DofType
Definition: common/discretefunction.hh:604
Traits ::DofVectorType DofVectorType
type of DofVector
Definition: common/discretefunction.hh:586
Definition: common/discretefunction.hh:1013
Definition: mutable.hh:31