20 #include "SheafSystem/unary_index_space.h" 21 #include "SheafSystem/assert_contract.h" 40 unary_index lblock_id, lnbr_id;
43 for(lblock_id=0; lblock_id<i_size; lblock_id++)
49 for(ldelta=-1; ldelta<2; ldelta++)
51 lnbr_id = lblock_id + ldelta;
58 if(result->
row_ct() < size)
69 ensure(result->
row_ct() == size);
85 os <<
"i_size: " << xbis.
i_size 86 <<
" size: " << xbis.
size;
ragged_array< unary_index > * neighbor_list() const
Create a ragged array containing the row major offsets of the neighbors of each index in the index sp...
unary_index i_size
Upper bound for the i index.
void push_back(const T &xvalue)
Add a value to the back of the back row.
index_type row_ct() const
The number of rows.
A bounded domain for unary_index objects.
unary_index size
Number in the space.
void new_back_row()
Creates a new last row.
A two index array with variable length rows.
Namespace for the fiber_bundles component of the sheaf system.
SHEAF_DLL_SPEC std::ostream & operator<<(std::ostream &os, const binary_index &xbi)
Insert binary_index& xbi into ostream& os.