|
peclet-amr 0.2.0
Block-local-Morton AMR octree + collocated cut-cell Navier–Stokes solver (header-only C++20, Kokkos + MPI)
|
| Npeclet | |
| Namr | |
| Ndetail | |
| CScalarEnt | |
| CCompEnt | |
| CGhostOverlayRef | |
| CMomSeamRows | One overlay row of buildMomSeamDelta: the seam test and the three row parts (raw row, virtual xi row, virtually-clean regular row), appended to the row's entries |
| CSeamReconBuilder | The record tables of buildSeamRecon under construction: the descriptors (out), the record entries and distances, and the two key caches |
| Noracle | |
| CAmrFlow | |
| Npybind | |
| COctree | |
| CPoisson | |
| CFlow | |
| CDistributedOctree | |
| CFlowDiagnostics | |
| CAdaptResult | |
| CAmgBottom | The agglomerated exact bottom of the pressure multigrid (docs/amr_mg_depth.md §6.6): the coarsest level's FV Laplacian assembled as the SPD matrix S = −Vol·L, with identity rows for fully closed cells and the constant nullspace projected per connected fluid component, solved by GraphAMG-preconditioned CG to relative kTol = 1e-10 (cap kMaxIters = 100) |
| CFvFaceEmit | Device-callable reproduction of AmrPoisson's per-cell face walk + geometry |
| CBarnesHut | |
| CBlockOctree | Per-block adaptive octree over block-local Morton codes |
| CBlockOctreeView | Device mirror of a BlockOctree's leaf arrays + device-callable queries |
| CCfCsr | Scalar-input CSR overlay: out(i) += Σ_k coef·f(slot) over rows with C/F faces |
| CCfCompCsr | Component-tagged CSR overlay (the divergence delta): out(i) += Σ_k coef·u[comp](slot) |
| CCfUfDelta | (uf_scheme − uf_std) for the div-free FACE field uf_k = ½(u_i+u_j) − (φ₊−φ₋)/d, one delta row per forEachFaceFull SLOT (cell-major enumeration — the FaceGeom / oracle faceStart CSR order, identical on both engines) |
| CCfCsrDev | Device mirror of a CfCsr (empty when the scheme is standard / no C/F rows) |
| CCfCompCsrDev | |
| CCsrCountSink | Sink passed to the emit functor during the COUNT pass: just tallies faces |
| CCsrFillSink | Sink passed to the emit functor during the FILL pass: writes each face into the cell's own slice [start_i, start_{i+1}) at the running cursor k (no atomics — deterministic) |
| CCsr | An assembled face-CSR: row offsets (size n+1), neighbour index + coefficient per face (size nFaces) |
| CAmrCutCell | |
| CAssembled | The assembled linear operator A as a per-cell diagonal + face CSR: (A u)_i = diag[i]·u_i + Σ_{k∈[start[i],start[i+1])} coef[k]·u[nbr[k]] |
| CDistributedStage | A SIBLING-MERGE or REPARTITION stage (docs/amr_mg_depth.md §5.6, WO4b; docs/amr_mg_core_boundary.md §5): the moved level lands on a decomposition of its own grid on FEWER ranks — agglomerated(d) for a sibling merge, a fresh proportional ORB on the first np_L ranks for a repartition, both chosen by core's chooseStageTarget — and the ladder continues there as a DistributedFlowMultigrid on the stage's sub-communicator, with its own lockstep lifts, its own halos and, where it blocks again, its own stage |
| CDistributedFlowMultigrid | |
| CDistributedFvOperator | |
| CGradedDistributedMultigrid | Geometric-multigrid V-cycle on a graded distributed octree, built on DistributedFvOperator |
| CDistributedOctree | |
| CFaceGatherPlan | Static topology of the face-neighbour gather: which out-slots are filled from a local leaf (directSlot/directLeaf) and which must be gathered from an owner (remoteCoords at remoteSlot) |
| CGatherHaloTopology | Flattened, value-only topology for the face-neighbour gather, established ONCE: the per-matvec exchange then moves only double values (no coords, no locateGlobal) over a fixed graph — the octree analogue of GridHaloTopology::flatten() |
| CFaceInfo | Classification of leaf i's face on (axis,dir): {state, global fine probe gc, owner, in-block neighbour localNb} |
| CDistributedPoisson | |
| CDistributedMultigrid | Distributed geometric-multigrid V-cycle for the plain Laplacian on a uniform (lmax==0) octree, the distributed analog of the host AmrMultigrid + flow's MPI-folded CutcellMG |
| CDistributedGatherHalo | Value-only, device-resident face-neighbour gather over a fixed topology (C2) |
| CDistributedPoissonView | Device-resident distributed plain-Laplacian Poisson operator: y = ∇²x with cross-block neighbours from the device gather halo |
| CDistributedMultigridView | Device-resident distributed geometric multigrid for the plain Laplacian (the device analogue of the host DistributedMultigrid) |
| CFaceGeom | |
| CSeamView | The seam tables as the advective kernels capture them: const Views plus the ablation flag (AmrFlow::setSeamReconstruction) |
| CFaceGeomEmit | The device face-geometry walker: replicates AmrPoisson::forEachFaceFull + periodicNeighbor over the device octree, using FvFaceEmit's geometry helpers |
| CGhostGradOverlay | Ghost-gradient overlay (setGhostGradient): per cut cell, a precomputed 3-point directional FD stencil per axis replacing the ABC grad3 value — central where both axis-neighbour centers are fluid, 2nd-order one-sided toward the fluid else (never reads a decoupled solid-centered value; gradOf's read of the pinned p=0 through partially-open faces is a gauge-dependent O(1/h) error at cut cells — measured in tests/study_amr_ghost_apriori.cpp) |
| CAmrFlow | |
| CFaceTopologyHost | The face CSR topology faceField() is indexed by, copied to host: start the per-cell row offsets (size n+1), then per (sub)face the neighbour leaf, the face axis (0/1/2) and the direction (+1/-1, pointing from the owning cell to the neighbour) |
| CFvOp | |
| CGhostOverlay | Host ghost-projection overlay: one row per non-clean fluid leaf (== cut cell: some ±1 center sample solid) |
| CGhostOverlayDev | Device mirror of GhostOverlay (uploaded once per setSolid) |
| CGhostOverlaySampled | Sampled overlay: the classic per-row fields (weights, states, rescale — base; base.nbr is UNUSED) plus one linear functional per chain slot (r*15 + a*5 + (q+2)) in CSR form |
| CGhostGradCsrHost | Host CSR form of the SAMPLED directional gradient overlay (variable-length stencils — a seam row's cascade composes with its LS sample functionals, so the fixed 9-entry GhostGradOverlay cannot hold it) |
| CGhostOverlaySampledDev | Device mirror of GhostOverlaySampled (uploaded once per setSolid) |
| CGhostGradCsrDev | Device CSR gradient overlay (sampled mode) + upload + apply (the variable-length analog of GhostGradOverlay / applyGhostGrad; overwrites gx/gy/gz on the overlay cells) |
| CAmrGeometry | World-space placement of a block-local octree: fine coordinate (0,..,0) sits at origin, and one level-0 fine cell is h0[d] wide on axis d |
| CLeafField | A value per leaf, in the octree's Z-order leaf slot order |
| CLeafHalo | |
| CLeafHaloExchange | Device-resident value refresh over a finalized LeafHalo: pack the owner's local values as a Kokkos kernel, move only the compact buffers across MPI (host-staged by default, GPU-aware via PECLET_CORE_GPU_AWARE_MPI — the GridHalo/DistributedGatherHalo pattern), scatter into the ghost tail of the extended device field |
| CPressureStagePolicy | Which stage the distributed pressure ladder uses where its in-place lift blocks (docs/amr_mg_depth.md §5.6, WO4b; docs/amr_mg_core_boundary.md §11.1, §9.6, §9.7) |
| CMgLevelPrediction | One predicted level of the pressure ladder (docs/amr_mg_depth.md §6.7) |
| CMgLadderPrediction | The whole predicted ladder: what predictPressureLadder returns and what peclet.amr.predict_hierarchy hands to Python as a dict |
| CMgStage | One stage of the pressure hierarchy (docs/amr_mg_depth.md §6.5) |
| CReplicatedTailStage | The REPLICATED stage (docs/amr_mg_depth.md §6.5.1): the target decomposition is one block — the whole level — on every rank, and the continued ladder is a single-rank Multigrid on the gathered grid, running its own §6.2 lifts down to its own §6.6 bottom |
| CMomentumMG | |
| CMomScaleSink | Sink adapter: forwards each face from the FvFaceEmit traversal as (j, factor·coef) to the real CSR sink — turns the plain geometric coeff into the regular-fluid momentum coupling −μ·invV·(a·c) |
| CMomSumSink | Sink that just sums the geometric coeffs of a cell's faces (Σ a·c for the regular diagonal) |
| CMomFaceEmit | Device-callable reproduction of AmrCutCell::assembleOperator's per-cell row + diagonal |
| CMultigrid | |
| CLevel | |
| CPCG | |
| CResult | |
| CAmrPoisson | Cell-centered FV Poisson operator on one (periodic) block octree |
| CFvAssembled | The assembled FV (weight-CSR) operator: per-face conductance w = A_f/d_f·openness, per-cell invVol and Dirichlet boundary diagonal, in the exact face order forEachFaceNeighbor emits |
| CAmrMultigrid | Geometric multigrid for AmrPoisson over a uniformly-coarsened octree hierarchy |
| CScalarTransport | |
| CSeamReconHost | Host-side seam-reconstruction tables (docs/amr_cf_convective.md §5.2), built once per AmrFlow::setSolid by buildSeamRecon and uploaded into FaceGeom (face_geom.hpp), where the two advective kernels read them through advect_recon.hpp |
| CVelocityMG |