![]() |
Shamrock 2025.10.0
Astrophysical Code
|
#include <shamphys/include/shamphys/coala_interface.hpp>
Public Member Functions | |
| bool | is_empty () const |
| Whether the pair has no stored entry (it does not contribute to the flux). | |
| template<class Func> | |
| void | for_each_sparse (Func &&func) const |
| Call func(j, tensor_tabflux_coag[j,l,m]) for each stored entry of the pair. | |
Public Attributes | |
| const T * | values |
| Tidx | jmin |
| Tidx | count |
The stored entries of one pair \((l,m)\): \(j \in [j_{\rm min}, j_{\rm min} + {\rm count})\)
Definition at line 177 of file coala_interface.hpp.
|
inline |
Call func(j, tensor_tabflux_coag[j,l,m]) for each stored entry of the pair.
Definition at line 187 of file coala_interface.hpp.
|
inline |
Whether the pair has no stored entry (it does not contribute to the flux).
Definition at line 183 of file coala_interface.hpp.
| Tidx shamphys::TabfluxCoagK0SparseView< T, Tidx >::PairEntries::count |
Definition at line 180 of file coala_interface.hpp.
| Tidx shamphys::TabfluxCoagK0SparseView< T, Tidx >::PairEntries::jmin |
Definition at line 179 of file coala_interface.hpp.
| const T* shamphys::TabfluxCoagK0SparseView< T, Tidx >::PairEntries::values |
Definition at line 178 of file coala_interface.hpp.