template<typename T>
class walberla::field::StdFieldAlloc< T >
Allocator without alignment using new and delete[].
|
| T * | allocateMemory (uint_t size0, uint_t size1, uint_t size2, uint_t size3, uint_t &allocSize1, uint_t &allocSize2, uint_t &allocSize3) override |
| | Same as allocated, without handling of reference counter.
|
| |
| T * | allocateMemory (uint_t size) override |
| | Same as allocated, without handling of reference counter.
|
| |
| void | deallocate (T *&values) override |
| | Deallocates memory that has been allocated using allocate()
|
| |
| virtual | ~FieldAllocator ()=default |
| |
| T * | allocate (uint_t size0, uint_t size1, uint_t size2, uint_t size3, uint_t &allocSize1, uint_t &allocSize2, uint_t &allocSize3) |
| | Allocate memory for a field of given sizes and initializes reference counter with one.
|
| |
| virtual void | setInnerGhostLayerSize (uint_t) |
| |
| T * | allocate (uint_t allocSize) |
| | Allocate memory of the given size.
|
| |
| void | incrementReferenceCount (T *mem) |
| | Increments the reference count for the given pointer.
|
| |
| bool | decrementReferenceCount (T *mem) |
| | Decrements the reference count for the given pointer.
|
| |
| uint_t | referenceCount (T *mem) const |
| |