24#ifndef _R_DIRDECOMPOSE_HH_
25#define _R_DIRDECOMPOSE_HH_
The r_Dir_Decompose class is used to specify a decomposition on an n-dimensional cube (for use in r_D...
Definition dirdecompose.hh:54
r_Dir_Decompose(const r_Dir_Decompose &)=default
r_Dir_Decompose & operator<<(r_Range limit)
Reads a new limit for the current dimension.
r_Range get_partition(size_t number) const
Gets a restriction.
r_Dir_Decompose()=default
r_Sinterval get_total_interval()
r_Dir_Decompose & prepend(r_Range limit)
Reads a new limit for the current dimension and prepends it to the list of limits.
void print_status(std::ostream &os) const
Prints the current status of the object.
size_t get_num_intervals() const
Gets the number of intervals the dimension is to be split into.
~r_Dir_Decompose()=default
std::vector< r_Range > intervals
The buffer that holds the information.
Definition dirdecompose.hh:79
The class represents an interval with lower and upper bound.
Definition sinterval.hh:214
std::ostream & operator<<(std::ostream &os, const r_Dir_Decompose &d)
Prints the status of an r_Dir_Decompose object to a stream.
std::int64_t r_Range
for axis indexing, e.g.
Definition mddtypes.hh:53