dune-fem
2.4.1-rc
|
SpecialArrayFeatures is a wrapper class to extend some array classes with some special features needed for the MemObject. There exsist a specialization for MutableArray and PetscVector. More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/space/common/arrays.hh>
Public Types | |
typedef ArrayType::value_type | ValueType |
value type of array, i.e. double More... | |
Static Public Member Functions | |
static size_t | used (const ArrayType &array) |
return used memory size of Array More... | |
static void | setMemoryFactor (ArrayType &array, const double memFactor) |
set memory overestimate factor, here does nothing More... | |
static void | memMoveBackward (ArrayType &array, const int length, const int oldStartIdx, const int newStartIdx) |
move memory blocks backwards More... | |
static void | memMoveForward (ArrayType &array, const int length, const int oldStartIdx, const int newStartIdx) |
move memory blocks forward More... | |
static void | assign (ArrayType &array, const int newIndex, const int oldIndex) |
implements array[ newIndex ] = array[ oldIndex ] More... | |
SpecialArrayFeatures is a wrapper class to extend some array classes with some special features needed for the MemObject. There exsist a specialization for MutableArray and PetscVector.
typedef ArrayType :: value_type Dune::Fem::SpecialArrayFeatures< ArrayType >::ValueType |
value type of array, i.e. double
|
inlinestatic |
implements array[ newIndex ] = array[ oldIndex ]
Referenced by Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::dofCompress().
|
inlinestatic |
move memory blocks backwards
Referenced by Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::resize().
|
inlinestatic |
move memory blocks forward
Referenced by Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::moveToFront().
|
inlinestatic |
set memory overestimate factor, here does nothing
Referenced by Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::ManagedDofStorageImplementation().
|
inlinestatic |
return used memory size of Array
Referenced by Dune::Fem::DofManager< Grid >::usedMemorySize().