#include "peclet/amr/common.hpp"
#include "peclet/core/common/types.hpp"
#include "peclet/core/common/view.hpp"
Go to the source code of this file.
|
| struct | peclet::amr::CsrCountSink |
| | Sink passed to the emit functor during the COUNT pass: just tallies faces. More...
|
| struct | peclet::amr::CsrFillSink |
| | 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). More...
|
| struct | peclet::amr::Csr |
| | An assembled face-CSR: row offsets (size n+1), neighbour index + coefficient per face (size nFaces). More...
|
|
| template<class CountFn> |
| View< Index > | peclet::amr::scanOffsets (Index n, const CountFn &countFn, Index &nTotal) |
| | CSR row offsets (size n+1) from a per-cell count functor, via one exclusive prefix scan, with the total written to nTotal.
|
| template<class Emit> |
| Csr | peclet::amr::buildFaceCsr (Index n, const Emit &emit) |
| | Build a face-CSR on device from a per-cell emit functor.
|