dune-fem
2.4.1-rc
|
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/space/common/dofmanager.hh>
Public Member Functions | |
ManagedDofStorage (const GridImp &grid, const MapperType &mapper, const std::string &name) | |
Constructor of ManagedDofStorage. More... | |
ResizeMemoryObjectType & | resizeMemoryObject () |
return object that calls resize of this memory object More... | |
ReserveMemoryObjectType & | reserveMemoryObject () |
return object that calls reserve of this memory object More... | |
const std::string & | name () const |
returns name of this vector More... | |
int | size () const |
return size of underlying array More... | |
void | resize () |
resize the memory with the new size More... | |
void | reserve (const int needed) |
reserve memory for what is comming More... | |
void | dofCompress () |
copy the dof from the rear section of the vector to the holes More... | |
size_t | usedMemorySize () const |
return used memory size More... | |
void | enableDofCompression () |
enable dof compression for this MemObject More... | |
DofArrayType & | getArray () |
return reference to array for DiscreteFunction More... | |
Protected Types | |
typedef ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType > | ThisType |
typedef DofManager< GridImp > | DofManagerType |
typedef ResizeMemoryObjects< ThisType > | ResizeMemoryObjectType |
typedef ReserveMemoryObjects< ThisType > | ReserveMemoryObjectType |
Protected Member Functions | |
MapperType & | mapper () const |
void | resizeAndMoveToRear () |
void | moveToFront (const int oldSize, const int block) |
move block to front again More... | |
Protected Attributes | |
DofArrayType | myArray_ |
DofManagerType & | dm_ |
MapperType & | mapper_ |
DofArrayType & | array_ |
std::string | name_ |
ResizeMemoryObjectType | resizeMemObj_ |
ReserveMemoryObjectType | reserveMemObj_ |
bool | dataCompressionEnabled_ |
A ManagedDofStorage holds the memory for one DiscreteFunction.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
inline |
Constructor of ManagedDofStorage.
|
inlinevirtualinherited |
copy the dof from the rear section of the vector to the holes
Implements Dune::Fem::ManagedDofStorageInterface.
References Dune::Fem::SpecialArrayFeatures< ArrayType >::assign().
|
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
References Dune::Fem::SpecialArrayFeatures< ArrayType >::memMoveForward().
|
inlinevirtualinherited |
returns name of this vector
Implements Dune::Fem::DofStorageInterface.
|
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.
References Dune::Fem::SpecialArrayFeatures< ArrayType >::memMoveBackward().
|
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 |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |