|
| constexpr | EBCellFlag () noexcept=default |
| | Default-construct a flag with all bits cleared (treated as regular).
|
| |
| | ~EBCellFlag () noexcept=default |
| |
| constexpr | EBCellFlag (const EBCellFlag &rhs) noexcept=default |
| |
| constexpr | EBCellFlag (EBCellFlag &&rhs) noexcept=default |
| |
| constexpr EBCellFlag & | operator= (const EBCellFlag &rhs) noexcept=default |
| |
| constexpr EBCellFlag & | operator= (EBCellFlag &&rhs) noexcept=default |
| |
| constexpr | EBCellFlag (uint32_t i) noexcept |
| | Construct from a raw bit pattern.
|
| |
| constexpr EBCellFlag & | operator= (uint32_t i) noexcept |
| | Assign a raw bit pattern to this flag.
|
| |
| __host__ __device__ EBCellFlag & | operator+= (const EBCellFlag &) |
| | Disabled on purpose—EBCellFlag values are not additive.
|
| |
| __host__ __device__ void | setRegular () noexcept |
| | Mark this cell as purely regular (single volume fraction, no cuts).
|
| |
| __host__ __device__ void | setCovered () noexcept |
| | Mark the cell as completely covered (solid).
|
| |
| __host__ __device__ void | setSingleValued () noexcept |
| | Mark the cell as single-valued (one cut)
|
| |
| __host__ __device__ void | setMultiValued (int n) noexcept |
| | Mark the cell as multi-valued and store the number of VoFs (n).
|
| |
| __host__ __device__ bool | operator== (const EBCellFlag &a_input) const noexcept |
| | Compare two flags for bitwise equality.
|
| |
| __host__ __device__ bool | operator!= (const EBCellFlag &a_input) const noexcept |
| | Compare two flags for inequality.
|
| |
| __host__ __device__ int | getNumVoFs () const noexcept |
| | Number of volume-of-fluid entries for this cell (1 for regular or single-valued, 0 for covered).
|
| |
| __host__ __device__ bool | isRegular () const noexcept |
| | True if the stored type bits correspond to a regular cell.
|
| |
| __host__ __device__ bool | isSingleValued () const noexcept |
| | True if the cell stores a single cut (one VoF).
|
| |
| __host__ __device__ bool | isMultiValued () const noexcept |
| | True if the cell has multiple VoFs.
|
| |
| __host__ __device__ bool | isCovered () const noexcept |
| | True if the cell is fully covered (solid).
|
| |
| __host__ __device__ bool | isConnected (const IntVect &iv) const noexcept |
| | Return whether the EB cut is connected to the neighbor offset by iv.
|
| |
| __host__ __device__ bool | isConnected (int i, int j, int k) const noexcept |
| | Return whether the EB cut connects to neighbor at offset (i,j,k).
|
| |
| __host__ __device__ bool | isDisconnected (const IntVect &iv) const noexcept |
| | Inverse of isConnected(IntVect).
|
| |
| __host__ __device__ bool | isDisconnected (int i, int j, int k) const noexcept |
| | Inverse of isConnected(i,j,k).
|
| |
| __host__ __device__ void | setDisconnected () noexcept |
| | Clear all neighbor-connection bits.
|
| |
| __host__ __device__ void | setDisconnected (const IntVect &iv) noexcept |
| | Clear connectivity to neighbor at offset iv.
|
| |
| __host__ __device__ void | setDisconnected (int i, int j, int k) noexcept |
| | Clear connectivity to neighbor at offset (i,j,k).
|
| |
| __host__ __device__ void | setConnected () noexcept |
| | Mark all neighbors as connected.
|
| |
| __host__ __device__ void | setConnected (const IntVect &iv) noexcept |
| | Mark connectivity to neighbor offset by iv.
|
| |
| __host__ __device__ void | setConnected (int i, int j, int k) noexcept |
| | Mark connectivity to neighbor at offset (i,j,k).
|
| |
| __host__ __device__ int | numNeighbors () const noexcept |
| | Count how many neighbors are connected (including itself).
|
| |
| __host__ __device__ uint32_t | getValue () const noexcept |
| | Raw 32-bit encoding stored in this flag.
|
| |
Bit-coded helper that classifies EB cells and neighbor connectivity.