NoSlope Struct ReferenceΒΆ

adc_cpp: pops::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

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()()

POPS_HD Real pops::NoSlope::operator() ( Real  ,
Real   
) const
inline

Member Data Documentation

◆ n_ghost

constexpr int pops::NoSlope::n_ghost = 1
staticconstexpr

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