DUNE-FEM (unstable)

Dune::Fem::ISTLBlockVectorDiscreteFunction< DiscreteFunctionSpace, Block >::ISTLDofStorage Class Reference

#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
 
SizeType size () const override
 return size of underlying array
 
void resize (const bool enlargeOnly) override
 resize the memory with the new size
 
void reserve (const SizeType needed) override
 reserve memory for what is coming
 
void dofCompress (const bool clearResizedArrays) override
 copy the dof from the rear section of the vector to the holes
 
size_t usedMemorySize () const override
 return used memory size
 
void enableDofCompression () override
 enable dof compression for this MemObject
 
DofVectorType & getArray ()
 return reference to array for DiscreteFunction
 

Protected Member Functions

void moveToFront (const SizeType oldSize, const int block)
 move block to front again
 

Detailed Description

template<class DiscreteFunctionSpace, class Block>
class Dune::Fem::ISTLBlockVectorDiscreteFunction< DiscreteFunctionSpace, Block >::ISTLDofStorage

A ISTLDofStorage holds the memory for one DiscreteFunction.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 13, 23:29, 2024)