#include <AMReX_EBCellFlag.H>
Static Public Member Functions | |
AMREX_GPU_HOST_DEVICE static constexpr AMREX_FORCE_INLINE EBCellFlag | TheDefaultCell () |
AMREX_GPU_HOST_DEVICE static constexpr AMREX_FORCE_INLINE EBCellFlag | TheCoveredCell () |
Private Attributes | |
uint32_t | flag = default_value |
Static Private Attributes | |
static constexpr uint32_t | one_lower_mask = 0x1f |
masks for lowest 5 bits (i.e., bit number 0-4) More... | |
static constexpr uint32_t | zero_lower_mask = ~0x1f |
static constexpr uint32_t | one_type_mask = 0x3 |
masks lowest 2 bits (i.e., bit number 0-1) More... | |
static constexpr uint32_t | zero_type_mask = ~0x3 |
static constexpr uint32_t | one_numvofs_mask = 0x1c |
masks for bit number 2-4 More... | |
static constexpr uint32_t | zero_numvofs_mask = ~0x1c |
static constexpr uint32_t | regular_bits = 0x0 |
static constexpr uint32_t | single_valued_bits = 0x1 |
static constexpr uint32_t | multi_valued_bits = 0x2 |
static constexpr uint32_t | covered_bits = 0x3 |
static constexpr uint32_t | single_vof_bits = 0x4 |
this represent single vof (regular is considered as single vof too) More... | |
static constexpr int | w_lower_mask = 5 |
static constexpr int | w_type = 2 |
static constexpr int | w_numvofs = 3 |
static constexpr int | pos_numvofs = 2 |
static constexpr uint32_t | default_value = 0x7fc004 |
regular connected with all neighbors More... | |
static constexpr uint32_t | covered_value = 0x40003 |
zero out all neighbors More... | |
|
constexprdefaultnoexcept |
|
defaultnoexcept |
|
constexprdefaultnoexcept |
|
constexprdefaultnoexcept |
|
inlineexplicitconstexprnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
constexprdefaultnoexcept |
|
constexprdefaultnoexcept |
|
inlineconstexprnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
< clean lower bits
|
inlinenoexcept |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
staticconstexprprivate |
|
staticconstexprprivate |
zero out all neighbors
|
staticconstexprprivate |
regular connected with all neighbors
zero out "3d" neighbors
|
private |
|
staticconstexprprivate |
|
staticconstexprprivate |
masks for lowest 5 bits (i.e., bit number 0-4)
|
staticconstexprprivate |
masks for bit number 2-4
|
staticconstexprprivate |
masks lowest 2 bits (i.e., bit number 0-1)
|
staticconstexprprivate |
|
staticconstexprprivate |
these represent cell types note that single-valued means single-value cut cell
|
staticconstexprprivate |
|
staticconstexprprivate |
this represent single vof (regular is considered as single vof too)
|
staticconstexprprivate |
There are 32 bits. The lowest 2 bits are used for cell type: regular, single-valued, multi-valued, and covered. The next 3 bits are for the number of vofs. The rest 27 bits are used for connectivity with neighbors.
|
staticconstexprprivate |
|
staticconstexprprivate |
|
staticconstexprprivate |
|
staticconstexprprivate |
|
staticconstexprprivate |