ThunderEgg
1.0.0
|
An enum-style class that represents interface types. More...
#include <IfaceType.h>
Public Member Functions | |
bool | isNormal () const |
Check if this type is Normal. More... | |
bool | isCoarseToCoarse () const |
Check if this type is CoarseToCoarse. More... | |
bool | isFineToCoarse () const |
Check if this type is FineToCoarse. More... | |
bool | isFineToFine () const |
Check if this type is FineToFine. More... | |
bool | isCoarseToFine () const |
Check if this type is CoarseToFine. More... | |
IfaceType ()=default | |
Construct a new Iface Type object with the value set to 10 and the orthant set to null. | |
Orthant< D - 1 > | getOrthant () const |
Get the Orthant that the finer patch lies on. | |
void | setOrthant (Orthant< D - 1 > orthant) |
Set the Orthant that the finer patch lies on. | |
bool | operator< (const IfaceType &b) const |
Compare iface type values. | |
Static Public Member Functions | |
static IfaceType< D > | Normal () |
An interface on a side of a patch with a neighbor at the same refinement level. More... | |
static IfaceType< D > | CoarseToCoarse () |
An interface on a side of a patch with neighbors at a finer refinement level. More... | |
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. More... | |
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. More... | |
static IfaceType< D > | CoarseToFine (Orthant< D - 1 > orthant) |
An interface on a side of a patch with neighbors at a finer refinement level. More... | |
An enum-style class that represents interface types.
D | the number of cartesian dimensions on a patch |
|
inlinestatic |
An interface on a side of a patch with neighbors at a finer refinement level.
This interface lines up with the cells on the coarser patch.
|
inlinestatic |
An interface on a side of a patch with neighbors at a finer refinement level.
This interface lines up with the cells on the finer patch. The orthant value should be set to the orthant on the coarser patch's side that the finer patch lies on.
orthant | the orthant of the fine patch |
|
inlinestatic |
An interface on a side of a patch with a neighbor at a coarser refinement level.
This interface lines up with the cells on the coarser patch.
orthant | the orthant of the fine patch |
|
inlinestatic |
An interface on a side of a patch with a neighbor at a coarser refinement level.
This interface lines up with the cells on the finer patch. The orthant value should be set to the orthant on the coarser patch's side that the finer patch lies on.
orthant | the orthant of the fine patch |
|
inline |
Check if this type is CoarseToCoarse.
|
inline |
Check if this type is CoarseToFine.
|
inline |
Check if this type is FineToCoarse.
|
inline |
Check if this type is FineToFine.
|
inline |
Check if this type is Normal.
|
inlinestatic |
An interface on a side of a patch with a neighbor at the same refinement level.