core 0.5.0
Shared MPI block decomposition + asynchronous ghost-layer exchange (header-only C++20)
Loading...
Searching...
No Matches
peclet::core::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< Indexcell
 [n] leaf index
 
std::vector< floatrescale
 [n] rho = min(1, min_f D_f) of the MATRIX weights
 
std::vector< int8_tcoupled
 [n] 1 if the row has any phi coupling at all
 
std::vector< int8_tstate
 [n*6]
 
std::vector< floatth
 [n*6] (diagnostics)
 
std::vector< floatw_bc
 
std::vector< floatw_n1
 
std::vector< floatw_n2
 [n*6] RHS/diagnostic closure weights (rhsOrder)
 
std::vector< floatwm_n1
 
std::vector< floatwm_n2
 [n*6] matrix (implicit phi) weights (matrixOrder)
 
std::vector< Indexnbr
 [n*15] ±2 neighbour chain per axis
 
std::vector< doubleinvh
 [n] 1/cellWidth of the row (finest band)
 

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 68 of file ghost_projection.hpp.

Member Data Documentation

◆ n

◆ cell

◆ rescale

◆ coupled

◆ state

◆ th

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

[n*6] (diagnostics)

Definition at line 74 of file ghost_projection.hpp.

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

◆ w_bc

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

◆ w_n1

◆ w_n2

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

◆ wm_n1

◆ wm_n2

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

◆ nbr

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

◆ invh


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