A prefix of each row in a region_base. More...
Public Member Functions | |
template<class F > | |
prefixes (region_base &r, F f) | |
Derive row lengths from a field accessor. | |
template<class F > | |
void | update (F) |
Has the same effect as the constructor, reusing the same region_base. | |
![]() | |
Color | colors () const |
Get the number of subsets (also the number of rows). | |
template<topo::single_space > | |
partition & | get_partition () |
Convenience function for simple topologies with just one partition. | |
![]() |
A prefix of each row in a region_base.
prefixes | ( | region_base & | r, |
F | f ) |
Derive row lengths from a field accessor.
The partition hosting the field must have the same number of rows as r.
r | region to subdivide |
f | field accessor for Field |
void update | ( | F | ) |
Has the same effect as the constructor, reusing the same region_base.