Go to the documentation of this file.
21 #ifndef THUNDEREGG_SCHUR_IFACETYPE_H
22 #define THUNDEREGG_SCHUR_IFACETYPE_H
44 unsigned char val = 10;
161 return std::forward_as_tuple(val, orthant) < std::forward_as_tuple(b.val, b.orthant);
bool isCoarseToFine() const
Check if this type is CoarseToFine.
Definition: IfaceType.h:143
static IfaceType< D > CoarseToCoarse()
An interface on a side of a patch with neighbors at a finer refinement level.
Definition: IfaceType.h:82
bool operator<(const IfaceType &b) const
Compare iface type values.
Definition: IfaceType.h:159
static Orthant< D > null()
null value
Definition: Orthant.h:68
An enum-style class that represents the octants of a cube.
Definition: Orthant.h:43
static IfaceType< D > Normal()
An interface on a side of a patch with a neighbor at the same refinement level.
Definition: IfaceType.h:68
bool isCoarseToCoarse() const
Check if this type is CoarseToCoarse.
Definition: IfaceType.h:88
An enum-style class that represents interface types.
Definition: IfaceType.h:38
Orthant< D - 1 > getOrthant() const
Get the Orthant that the finer patch lies on.
Definition: IfaceType.h:151
static IfaceType< D > CoarseToFine(Orthant< D - 1 > orthant)
An interface on a side of a patch with neighbors at a finer refinement level.
Definition: IfaceType.h:137
void setOrthant(Orthant< D - 1 > orthant)
Set the Orthant that the finer patch lies on.
Definition: IfaceType.h:155
The ThunderEgg namespace.
Definition: BiLinearGhostFiller.h:31
bool isFineToFine() const
Check if this type is FineToFine.
Definition: IfaceType.h:126
static IfaceType< D > FineToFine(Orthant< D - 1 > orth_on_coarse)
An interface on a side of a patch with a neighbor at a coarser refinement level.
Definition: IfaceType.h:117
IfaceType()=default
Construct a new Iface Type object with the value set to 10 and the orthant set to null.
bool isFineToCoarse() const
Check if this type is FineToCoarse.
Definition: IfaceType.h:106
bool isNormal() const
Check if this type is Normal.
Definition: IfaceType.h:74
static IfaceType< D > FineToCoarse(Orthant< D - 1 > orth_on_coarse)
An interface on a side of a patch with a neighbor at a coarser refinement level.
Definition: IfaceType.h:97