|
core
Shared MPI block decomposition + asynchronous ghost-layer exchange (header-only C++20)
|
#include "peclet/core/amr/assembly.hpp"#include "peclet/core/amr/block_octree_view.hpp"#include "peclet/core/amr/csr.hpp"#include "peclet/core/amr/cut_cell.hpp"#include "peclet/core/amr/momentum.hpp"#include "peclet/core/common/view.hpp"Go to the source code of this file.
Classes | |
| struct | peclet::core::amr::MomScaleSink< Sink > |
| 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). More... | |
| struct | peclet::core::amr::MomSumSink |
| Sink that just sums the geometric coeffs of a cell's faces (Σ a·c for the regular diagonal). More... | |
| struct | peclet::core::amr::MomFaceEmit< Bits > |
| Device-callable reproduction of AmrCutCell::assembleOperator's per-cell row + diagonal. More... | |
Namespaces | |
| namespace | peclet |
| namespace | peclet::core |
| namespace | peclet::core::amr |
Functions | |
| template<unsigned Bits> | |
| void | peclet::core::amr::rebuildCutStencil (Index n, double beta, double AC0, const View< double > &sdfC, const View< Index > &nbr6, const View< char > &fluid, View< double > AC, View< double > off, View< char > cut, View< double > rscale) |
| The per-cell ξ-overlay rebuild (build() Pass 2) on device: from the staged cell SDF + neighbour indices + fluid flag, recompute AC/off/cut/rscale exactly as the host build does. | |
| template<unsigned Bits> | |
| MomentumOp | peclet::core::amr::assembleMomentum (const AmrCutCell< Bits > &ccop, const BlockOctreeView< 3, Bits > &ov, bool scaleAdvByRscale=false) |
| Assemble the MomentumOp entirely on the device from a built host AmrCutCell + a device octree view. | |