Go to the documentation of this file.
53 boolList mayDeleteData(nElmts,
true);
65 for(
label i=0;i<nElmts;++i)
66 if( mayDeleteData[i] )
73 nElmts = containedEdges.
size();
87 for(
label i=0;i<nElmts;++i)
88 if( mayDeleteData[i] )
#define forAll(list, i)
Loop across all elements in list.
label containedEdges() const
Template functions to aid in the implementation of demand driven data.
bool hasContainedElements() const
return true if the box contains some triangles
List< meshOctreeSlot > dataSlots_
List of slots containing data generated by each processor.
void reduceMemoryConsumption()
reduce memory consumption by deleting unnecessary data
bool hasContainedEdges() const
returns true if the box contains some edges
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void optimizeMemoryUsage()
optimize memory usage
label size() const
Returns the number of rows.
const meshOctreeSlot * slotPtr() const
return the pointer to the slot containing the cube
LongList< meshOctreeCube * > leaves_
list of cubes which are leaves of the octree
void setSize(const label)
Reset size of List.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
label containedElements() const
void setRowSize(const label rowI, const label newSize)
Reset the size of the given row.
meshOctree & octree_
Reference to the octree.