AssembleRhsHllCachedKernel< Limiter, Model > Struct Template 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
|
AssembleRhsHllCachedKernel: kernel of the residual R = -div Fhat + S for the HLL flux with wave speeds PRE-COMPUTED per cell (scratch ws, 4 components).
More...
#include <cartesian_operator.hpp>
Collaboration diagram for pops::detail::AssembleRhsHllCachedKernel< Limiter, Model >:Public Member Functions | |
| POPS_HD void | operator() (int i, int j) const |
Public Attributes | |
| Model | model |
| ConstArray4 | u |
| ConstArray4 | ax |
| ConstArray4 | ws |
| Array4 | r |
| Real | dx |
| Real | dy |
| Limiter | lim |
| bool | recon_prim |
| Real | pos_floor = Real(0) |
| Zhang-Shu positivity limiter (<= 0: inactive, bit-identical) | |
| int | pos_comp = 0 |
| Density role component (resolved by the host caller) | |
Detailed Description
struct pops::detail::AssembleRhsHllCachedKernel< Limiter, Model >
AssembleRhsHllCachedKernel: kernel of the residual R = -div Fhat + S for the HLL flux with wave speeds PRE-COMPUTED per cell (scratch ws, 4 components).
Reconstruction and numerical flux IDENTICAL to AssembleRhsKernel<.., HLLFlux>; only the source of the signal speeds changes: instead of hll_speeds (per-face recall of model.wave_speeds), each face bounds sL/sR by min/max of the cached speeds of its two adjacent cells – exactly the Davis estimates of the per-face path when the reconstructed states equal the cell values (NoSlope). Named functor (device-clean cross-TU). POPS_HD.
Member Function Documentation
◆ operator()()
|
inline |
Here is the call graph for this function:Member Data Documentation
◆ ax
| ConstArray4 pops::detail::AssembleRhsHllCachedKernel< Limiter, Model >::ax |
◆ dx
| Real pops::detail::AssembleRhsHllCachedKernel< Limiter, Model >::dx |
◆ dy
| Real pops::detail::AssembleRhsHllCachedKernel< Limiter, Model >::dy |
◆ lim
| Limiter pops::detail::AssembleRhsHllCachedKernel< Limiter, Model >::lim |
◆ model
| Model pops::detail::AssembleRhsHllCachedKernel< Limiter, Model >::model |
◆ pos_comp
| int pops::detail::AssembleRhsHllCachedKernel< Limiter, Model >::pos_comp = 0 |
Density role component (resolved by the host caller)
◆ pos_floor
| Real pops::detail::AssembleRhsHllCachedKernel< Limiter, Model >::pos_floor = Real(0) |
Zhang-Shu positivity limiter (<= 0: inactive, bit-identical)
◆ r
| Array4 pops::detail::AssembleRhsHllCachedKernel< Limiter, Model >::r |
◆ recon_prim
| bool pops::detail::AssembleRhsHllCachedKernel< Limiter, Model >::recon_prim |
◆ u
| ConstArray4 pops::detail::AssembleRhsHllCachedKernel< Limiter, Model >::u |
◆ ws
| ConstArray4 pops::detail::AssembleRhsHllCachedKernel< Limiter, Model >::ws |
The documentation for this struct was generated from the following file:
- include/pops/numerics/spatial/operators/cartesian_operator.hpp
Generated by