NoSlope Struct ReferenceΒΆ
|
adc_cpp 0.3.0
Model-free C++23 core for coupled hyperbolic-elliptic systems on adaptive (AMR) meshes, with MPI and GPU (Kokkos) backends
|
pops::NoSlope Struct Reference
First-order reconstruction (piecewise constant): zero slope, 1 ghost. More...
#include <reconstruction.hpp>
Collaboration diagram for pops::NoSlope:Public Member Functions | |
| POPS_HD Real | operator() (Real, Real) const |
Static Public Attributes | |
| static constexpr int | n_ghost = 1 |
Detailed Description
First-order reconstruction (piecewise constant): zero slope, 1 ghost.
Minimal policy: no slope computation, no read of a neighbor at distance >= 2. The n_ghost == 1 path in reconstruct does not touch the cells at +/-2. POPS_HD. INVARIANT: always returns Real(0) – the cell state is not modified.
Member Function Documentation
◆ operator()()
Member Data Documentation
◆ n_ghost
|
staticconstexpr |
The documentation for this struct was generated from the following file:
- include/pops/numerics/fv/reconstruction.hpp
Generated by