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

A subset of each row in a region_base, expressed as a set of intervals. More...

Public Types

using Value
 Defined by the backend.
 

Public Member Functions

 intervals (region_base &r, const partition &part, field_id_t id, completeness=incomplete)
 Derive intervals from the field values in each row of a partition.
 
- Public Member Functions inherited from partition
- 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.
 

Static Public Member Functions

static auto make (subrow, std::size_t r=color())
 Factory function for the interval type.
 

Detailed Description

A subset of each row in a region_base, expressed as a set of intervals.

Member Typedef Documentation

◆ Value

using Value

Defined by the backend.

Constructor & Destructor Documentation

◆ intervals()

intervals ( region_base & r,
const partition & part,
field_id_t id,
completeness = incomplete )

Derive intervals from the field values in each row of a partition.

Parameters
rregion of which to select a subset
partmust have the same number of rows as r
idfield of type Value

Member Function Documentation

◆ make()

static auto make ( subrow ,
std::size_t r = color() )
static

Factory function for the interval type.