dune-fem 2.8.0
|
#include <dune/fem/function/blockvectorfunction/blockvectorfunction.hh>
Public Member Functions | |
ISTLDofStorage (const GridType &grid, const BlockMapperType &mapper, DofContainerType *otherData=nullptr) | |
Constructor of ManagedDofStorage. | |
ResizeMemoryObjectType & | resizeMemoryObject () |
return object that calls resize of this memory object | |
ReserveMemoryObjectType & | reserveMemoryObject () |
return object that calls reserve of this memory object | |
int | size () const |
return size of underlying array | |
void | resize (const bool enlargeOnly) |
resize the memory with the new size | |
void | reserve (const int needed) |
reserve memory for what is comming | |
void | dofCompress (const bool clearResizedArrays) |
copy the dof from the rear section of the vector to the holes | |
size_t | usedMemorySize () const |
return used memory size | |
void | enableDofCompression () |
enable dof compression for this MemObject | |
DofVectorType & | getArray () |
return reference to array for DiscreteFunction | |
Protected Types | |
typedef ManagedDofStorageImplementation< GridType, BlockMapperType, DofVectorType > | ThisType |
typedef DofManager< GridType > | DofManagerType |
typedef ResizeMemoryObjects< ThisType > | ResizeMemoryObjectType |
typedef ReserveMemoryObjects< ThisType > | ReserveMemoryObjectType |
Protected Member Functions | |
DofContainerType * | createData (const size_t size, DofContainerType *otherData) |
void | resize (std::false_type, const bool enlargeOnly) |
void | resize (std::true_type, const bool enlargeOnly) |
BlockMapperType & | mapper () const |
void | resizeAndMoveToRear () |
void | moveToFront (const int oldSize, const int block) |
move block to front again | |
Protected Attributes | |
std::unique_ptr< DofContainerType > | myDofContainer_ |
DofVectorType | myArray_ |
DofManagerType & | dm_ |
BlockMapperType & | mapper_ |
DofVectorType & | array_ |
ResizeMemoryObjectType | resizeMemObj_ |
ReserveMemoryObjectType | reserveMemObj_ |
bool | dataCompressionEnabled_ |
A ISTLDofStorage holds the memory for one DiscreteFunction.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
inline |
Constructor of ManagedDofStorage.
|
inlineprotected |
|
inlinevirtualinherited |
copy the dof from the rear section of the vector to the holes
Implements Dune::Fem::ManagedDofStorageInterface.
|
inlinevirtualinherited |
enable dof compression for this MemObject
Reimplemented from Dune::Fem::DofStorageInterface.
|
inlineinherited |
return reference to array for DiscreteFunction
|
inlineprotectedinherited |
|
inlineprotectedinherited |
move block to front again
|
inlinevirtualinherited |
reserve memory for what is comming
Implements Dune::Fem::ManagedDofStorageInterface.
|
inlineinherited |
return object that calls reserve of this memory object
|
inlinevirtualinherited |
resize the memory with the new size
Implements Dune::Fem::ManagedDofStorageInterface.
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
return object that calls resize of this memory object
|
inlinevirtualinherited |
return size of underlying array
Implements Dune::Fem::DofStorageInterface.
|
inlinevirtualinherited |
return used memory size
Implements Dune::Fem::ManagedDofStorageInterface.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protected |
|
protectedinherited |
|
protectedinherited |