Cloudy
Spectral Synthesis Code for Astrophysics
|
#include <container_classes.h>
Public Types | |
typedef size_t | size_type |
Public Member Functions | |
multi_geom () | |
multi_geom (const multi_geom &m) | |
~multi_geom () | |
void | clear () |
const multi_geom & | operator= (const multi_geom &m) |
bool | lgInbounds (const size_type n, const size_type index[]) const |
void | reserve (const size_type n, const size_type index[]) |
void | reserve_recursive (const size_type n, size_type index[]) |
void | finalize (void) |
Public Attributes | |
tree_vec | v |
size_type | size |
size_type | s [d] |
allocated size (number of data elements, pointers are not counted) More... | |
size_type | st [d] |
size of each dimension (only used in C_TYPE layout) More... | |
size_type | nsl [d] |
stride for each dimension (only used in C_TYPE layout) More... | |
Private Member Functions | |
void | p_clear0 () |
sizes of each of the pointer arrays More... | |
void | p_clear1 () |
void | p_setupArray (size_type n1[], size_type n2[], const tree_vec *w, size_type l) |
multi_geom - this class maintains all the geometry information for multi_arr keeping it separate makes it easy to clone the information from one multi_arr to another
typedef size_t multi_geom< d, ALLOC >::size_type |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by multi_geom< d, MEM_LAYOUT_VAL >::operator=().
|
inline |
|
inline |
|
inline |
|
inlineprivate |
sizes of each of the pointer arrays
Referenced by multi_geom< d, MEM_LAYOUT_VAL >::clear(), and multi_geom< d, MEM_LAYOUT_VAL >::~multi_geom().
|
inlineprivate |
|
inlineprivate |
|
inline |
Referenced by multi_geom< d, MEM_LAYOUT_VAL >::reserve_recursive().
|
inline |
Referenced by multi_geom< d, MEM_LAYOUT_VAL >::reserve_recursive().
size_type multi_geom< d, ALLOC >::nsl[d] |
stride for each dimension (only used in C_TYPE layout)
Referenced by multi_geom< d, MEM_LAYOUT_VAL >::finalize(), multi_geom< d, MEM_LAYOUT_VAL >::operator=(), multi_geom< d, MEM_LAYOUT_VAL >::p_clear1(), and multi_geom< d, MEM_LAYOUT_VAL >::reserve().
size_type multi_geom< d, ALLOC >::s[d] |
allocated size (number of data elements, pointers are not counted)
Referenced by multi_geom< d, MEM_LAYOUT_VAL >::finalize(), multi_geom< d, MEM_LAYOUT_VAL >::operator=(), multi_geom< d, MEM_LAYOUT_VAL >::p_clear1(), and multi_geom< d, MEM_LAYOUT_VAL >::reserve().
size_type multi_geom< d, ALLOC >::size |
size_type multi_geom< d, ALLOC >::st[d] |
size of each dimension (only used in C_TYPE layout)
Referenced by multi_geom< d, MEM_LAYOUT_VAL >::finalize(), multi_geom< d, MEM_LAYOUT_VAL >::operator=(), and multi_geom< d, MEM_LAYOUT_VAL >::p_clear1().
tree_vec multi_geom< d, ALLOC >::v |