|
dune-fem 2.12-git
|
Loading...
Searching...
No Matches
blockvectorfunction/blockvectorfunction.hh
Go to the documentation of this file.
38 : public DiscreteFunctionDefault< ISTLBlockVectorDiscreteFunction< DiscreteFunctionSpace, Block > >
176 DofVectorType& allocateDofStorage ( const DiscreteFunctionSpaceType &space, DofContainerType* otherData = nullptr )
178 memObject_.reset( new ISTLDofStorage( space.gridPart().grid(), space.blockMapper(), otherData ) );
SizeType size() const override
return size of underlying array
Definition dofmanager.hh:341
BlockMapperType & mapper() const
Definition dofmanager.hh:439
STL namespace.
MutableLocalFunction< DiscreteFunctionType > LocalFunctionType
Definition blockvectorfunction/blockvectorfunction.hh:31
ISTLBlockVectorDiscreteFunction< DiscreteFunctionSpace, Block > DiscreteFunctionType
Definition blockvectorfunction/blockvectorfunction.hh:30
Definition blockvectorfunction/blockvectorfunction.hh:39
DofVectorType & dofVector()
Definition blockvectorfunction/blockvectorfunction.hh:123
DofContainerType & blockVector()
convenience method for usage with ISTL solvers
Definition blockvectorfunction/blockvectorfunction.hh:117
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::GridType GridType
Definition blockvectorfunction/blockvectorfunction.hh:45
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::DiscreteFunctionSpaceType DiscreteFunctionSpaceType
Definition blockvectorfunction/blockvectorfunction.hh:44
ScalarProductType & scalarProduct()
returns ScalarProduct to be used with ISTLInverseOp
Definition blockvectorfunction/blockvectorfunction.hh:129
DofVectorType & dofVector_
Definition blockvectorfunction/blockvectorfunction.hh:186
DofVectorType & allocateDofStorage(const DiscreteFunctionSpaceType &space, DofContainerType *otherData=nullptr)
Definition blockvectorfunction/blockvectorfunction.hh:176
ISTLBlockVectorDiscreteFunction(const ThisType &other)
Copy constructor.
Definition blockvectorfunction/blockvectorfunction.hh:83
const DofContainerType & blockVector() const
convenience method for usage with ISTL solvers
Definition blockvectorfunction/blockvectorfunction.hh:120
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
ThisType & operator=(const ThisType &)=delete
const std::string & name() const
obtain the name of the discrete function
Definition common/discretefunction.hh:691
DofContainerType DofStorageType
Definition blockvectorfunction/blockvectorfunction.hh:49
BaseType::ScalarProductType ScalarProductType
Definition blockvectorfunction/blockvectorfunction.hh:51
void assign(const DiscreteFunctionInterface< DFType > &g)
Definition discretefunction_inline.hh:132
BaseType::DofVectorType DofVectorType
Definition blockvectorfunction/blockvectorfunction.hh:46
DofVectorType::DofContainerType DofContainerType
Definition blockvectorfunction/blockvectorfunction.hh:48
BaseType::DofType DofType
Definition blockvectorfunction/blockvectorfunction.hh:47
ISTLBlockVectorDiscreteFunction(ThisType &&other)
Move constructor.
Definition blockvectorfunction/blockvectorfunction.hh:92
const DofVectorType & dofVector() const
Definition blockvectorfunction/blockvectorfunction.hh:126
DiscreteFunctionSpaceType::BlockMapperType BlockMapperType
Definition blockvectorfunction/blockvectorfunction.hh:134
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:584
ScalarProductType scalarProduct_
Definition common/discretefunction.hh:1046
const DiscreteFunctionSpaceType & space() const
obtain a reference to the corresponding DiscreteFunctionSpace
Definition common/discretefunction.hh:709
const std::string & name() const
obtain the name of the discrete function
Definition common/discretefunction.hh:691
void assign(const DiscreteFunctionInterface< DFType > &g)
Definition discretefunction_inline.hh:132
Definition common/discretefunction.hh:1081
Definition cachedcommmanager.hh:49
Definition dofmanager.hh:276
discrete function space
T reset(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8