20 #include "SheafSystem/ternary_index_space.h" 21 #include "SheafSystem/assert_contract.h" 43 for(lblock_id.
i=0; lblock_id.
i<i_size; lblock_id.
i++)
45 for(lblock_id.
j=0; lblock_id.
j<j_size; lblock_id.
j++)
47 for(lblock_id.
k=0; lblock_id.
k<k_size; lblock_id.
k++)
54 for(ldelta.
i=-1; ldelta.
i<2; ldelta.
i++)
56 for(ldelta.
j=-1; ldelta.
j<2; ldelta.
j++)
58 for(ldelta.
k=-1; ldelta.
k<2; ldelta.
k++)
60 lnbr_id = lblock_id + ldelta;
63 result->
push_back(to_row_major_offset(lnbr_id));
69 if(result->
row_ct() < size)
82 ensure(result->
row_ct() == size);
98 os <<
"i_size: " << xbis.
i_size 99 <<
" j_size: " << xbis.
j_size 100 <<
" k_size: " << xbis.
k_size 101 <<
" size: " << xbis.
size;
A triple of indices (i,j, k).
unary_index j
The second index.
unary_index i
The first index.
void push_back(const T &xvalue)
Add a value to the back of the back row.
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...
index_type row_ct() const
The number of rows.
A bounded domain for ternary_index objects.
unary_index size
Number in the space.
unary_index k
The third index.
void new_back_row()
Creates a new last row.
unary_index j_size
Upper bound for the second index.
unary_index k_size
Upper bound for the third index.
A two index array with variable length rows.
Namespace for the fiber_bundles component of the sheaf system.
unary_index i_size
Upper bound for the first index.
SHEAF_DLL_SPEC std::ostream & operator<<(std::ostream &os, const binary_index &xbi)
Insert binary_index& xbi into ostream& os.