InvStabilityDtKernel< 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
|
pops::detail::InvStabilityDtKernel< Model > Struct Template Reference
InvStabilityDtKernel: max over cells of 1/model.stability_dt. More...
#include <wave_speed.hpp>
Collaboration diagram for pops::detail::InvStabilityDtKernel< Model >:Public Member Functions | |
| POPS_HD void | operator() (int i, int j, Real &acc) const |
Public Attributes | |
| Model | model |
| ConstArray4 | u |
| ConstArray4 | a |
Detailed Description
template<class Model>
struct pops::detail::InvStabilityDtKernel< Model >
struct pops::detail::InvStabilityDtKernel< Model >
InvStabilityDtKernel: max over cells of 1/model.stability_dt.
We reduce the INVERSE (a frequency) because the seam only provides a MAX reduction initialized to 0 (reduce_max_cell): min(dt) == 1/max(1/dt) for dt > 0. A stability_dt <= 0 or non-finite is ignored (does not constrain) – the model signals "no bound here" by returning +inf.
Member Function Documentation
◆ operator()()
template<class Model >
|
inline |
Member Data Documentation
◆ a
template<class Model >
| ConstArray4 pops::detail::InvStabilityDtKernel< Model >::a |
◆ model
template<class Model >
| Model pops::detail::InvStabilityDtKernel< Model >::model |
◆ u
template<class Model >
| ConstArray4 pops::detail::InvStabilityDtKernel< Model >::u |
The documentation for this struct was generated from the following file:
- include/pops/numerics/spatial/primitives/wave_speed.hpp
Generated by