The layout of one axis of one color. More...
Public Member Functions | |
| auto | all () const |
| Return a range of all (local) indices. | |
| template<short E> | |
| util::id | exclusive () const |
| template<short E> | |
| util::id | extended () const |
| The extended entities, i.e., the logical entities including boundary padding. | |
| auto | extended () const |
| Return a range of all extended indices. | |
| util::id | extent () const |
| The local extent of this color. | |
| template<short E> | |
| util::id | ghost () const |
| The beginning or end index of the domain entities, including logical and ghost entities. | |
| template<short E> | |
| util::id | logical () const |
| The beginning or end index of the logical entities, i.e., the entities for this color without boundary padding or ghosts. | |
| auto | logical () const |
| Return a range of all logical indices. | |
The layout of one axis of one color.
This class is supported for GPU execution.
| util::id extent | ( | ) | const |
The local extent of this color.
This is the full size including boundary depth, and ghosts. The "extent" coordinate implicitly defines a range [0, extent[.
| auto all | ( | ) | const |
Return a range of all (local) indices.
util::id | util::id logical | ( | ) | const |
The beginning or end index of the logical entities, i.e., the entities for this color without boundary padding or ghosts.
| E | 0 or 1 for beginning or end |
| auto logical | ( | ) | const |
Return a range of all logical indices.
util::id | util::id exclusive | ( | ) | const |
| util::id ghost | ( | ) | const |
The beginning or end index of the domain entities, including logical and ghost entities.
| E | 0 or 1 for beginning or end |
| util::id extended | ( | ) | const |
The extended entities, i.e., the logical entities including boundary padding.
The boundary depth can be computed like:
The ghost depth can be computed like:
| E | 0 or 1 for beginning or end |
| auto extended | ( | ) | const |
Return a range of all extended indices.
util::id