peclet-amr 0.2.0
Block-local-Morton AMR octree + collocated cut-cell Navier–Stokes solver (header-only C++20, Kokkos + MPI)
Loading...
Searching...
No Matches
peclet::amr::GhostOverlay Struct Reference

Host ghost-projection overlay: one row per non-clean fluid leaf (== cut cell: some ±1 center sample solid). More...

#include <ghost_projection.hpp>

Public Attributes

Index n = 0
 
std::vector< Index > cell
 [n] leaf index
 
std::vector< float > rescale
 [n] rho = min(1, min_f D_f) of the MATRIX weights
 
std::vector< int8_t > coupled
 [n] 1 if the row has any phi coupling at all
 
std::vector< int8_t > state
 [n*6]
 
std::vector< float > th
 [n*6] (diagnostics)
 
std::vector< float > w_bc
 
std::vector< float > w_n1
 
std::vector< float > w_n2
 [n*6] RHS/diagnostic closure weights (rhsOrder)
 
std::vector< float > wm_n1
 
std::vector< float > wm_n2
 [n*6] matrix (implicit phi) weights (matrixOrder)
 
std::vector< Index > nbr
 [n*15] ±2 neighbour chain per axis
 
std::vector< double > invh
 [n*3] 1/cellWidth PER AXIS of the row (Phase 3)
 

Detailed Description

Host ghost-projection overlay: one row per non-clean fluid leaf (== cut cell: some ±1 center sample solid).

Face slot k = 2*axis + (0 = plus side, 1 = minus side); nbr stores the ±2 same-level chain per axis (slot r*15 + a*5 + (q+2), q = -2..2, q=0 the row's own leaf).

Definition at line 67 of file ghost_projection.hpp.

Member Data Documentation

◆ n

◆ cell

◆ rescale

◆ coupled

◆ state

◆ th

std::vector<float> peclet::amr::GhostOverlay::th

[n*6] (diagnostics)

Definition at line 73 of file ghost_projection.hpp.

Referenced by peclet::amr::buildGhostOverlay(), and peclet::amr::detail::GhostOverlayRef::th().

◆ w_bc

std::vector<float> peclet::amr::GhostOverlay::w_bc

◆ w_n1

◆ w_n2

std::vector<float> peclet::amr::GhostOverlay::w_n2

◆ wm_n1

◆ wm_n2

std::vector<float> peclet::amr::GhostOverlay::wm_n2

◆ nbr

std::vector<Index> peclet::amr::GhostOverlay::nbr

[n*15] ±2 neighbour chain per axis

Definition at line 76 of file ghost_projection.hpp.

Referenced by peclet::amr::buildGhostOverlay(), peclet::amr::ghostApplyDeltaHost(), and peclet::amr::ghostDivergDeltaHost().

◆ invh

std::vector<double> peclet::amr::GhostOverlay::invh

The documentation for this struct was generated from the following file: