VanLeer 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::VanLeer Struct Reference
van Leer limiter: smooth, 2 ghosts, better order at extrema than Minmod. More...
#include <reconstruction.hpp>
Collaboration diagram for pops::VanLeer:Public Member Functions | |
| POPS_HD Real | operator() (Real a, Real b) const |
Static Public Attributes | |
| static constexpr int | n_ghost = 2 |
Detailed Description
van Leer limiter: smooth, 2 ghosts, better order at extrema than Minmod.
Harmonic average of the differences: 2ab/(a+b) if same sign, 0 otherwise. No sign branch (no std::abs). Preferred over Minmod for preserving smooth growth modes (less dissipative at the density profile extrema).
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