|
Basilisk CFD
Adaptive Cartesian mesh PDE framework
|
#include <range.h>
Data Fields | |
| void ** | p |
| int | size |
This file implements low-level memory allocation for multi-dimensional arrays with arbitrary starting and ending indices. This is used to implement more memory-efficient tree structures.
The Memalloc data structure represents the one-dimensional array which is defined by a generic pointer p and the size of its elements size in bytes.
The range of indices of the array is defined by the Memrange data structure.
| void** Memalloc::p |
Definition at line 18 of file range.h.
Referenced by memrange_alloc(), and memrange_free().
| int Memalloc::size |
Definition at line 19 of file range.h.
Referenced by memrange_free().