FleCSI Core API Version: 2.3.2
 
Loading...
Searching...
No Matches
prefixes Struct Reference

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.
 
- Public Member Functions inherited from partition
Color colors () const
 Get the number of subsets (also the number of rows).
 
template<topo::single_space >
partitionget_partition ()
 Convenience function for simple topologies with just one partition.
 
- Public Member Functions inherited from partition

Detailed Description

A prefix of each row in a region_base.

Constructor & Destructor Documentation

◆ prefixes()

template<class F >
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.

Parameters
rregion to subdivide
ffield accessor for Field

Member Function Documentation

◆ update()

template<class F >
void update ( F )

Has the same effect as the constructor, reusing the same region_base.