Owning single-precision diagnostic marker matrix.
More...
#include "part.hpp"
|
| void | allocate (const std::string &label, int npmx, int nprops) |
| | Replace storage with npmx by nprops values.
|
| |
| Real32 & | operator() (int ip, int prop) |
| | Access a mutable value by zero-based particle/property index.
|
| |
| const Real32 & | operator() (int ip, int prop) const |
| | Access a value by zero-based particle/property index.
|
| |
| | PointerMarkersR4 ()=default |
| | Construct an empty wrapper.
|
| |
| | PointerMarkersR4 (const std::string &label, int npmx, int nprops) |
| | Allocate a named single-precision marker matrix.
|
| |
|
| Kokkos::View< Real32 ** > | markers |
| | Diagnostic values [capacity][property].
|
| |
Owning single-precision diagnostic marker matrix.
◆ PointerMarkersR4() [1/2]
| orb5x::PointerMarkersR4::PointerMarkersR4 |
( |
| ) |
|
|
default |
Construct an empty wrapper.
◆ PointerMarkersR4() [2/2]
| orb5x::PointerMarkersR4::PointerMarkersR4 |
( |
const std::string & |
label, |
|
|
int |
npmx, |
|
|
int |
nprops |
|
) |
| |
|
inline |
Allocate a named single-precision marker matrix.
- Parameters
-
| [in] | label | Kokkos allocation label used by profiling tools. |
| [in] | npmx | Particle capacity (first extent). |
| [in] | nprops | Property-column count (second extent). |
◆ allocate()
| void orb5x::PointerMarkersR4::allocate |
( |
const std::string & |
label, |
|
|
int |
npmx, |
|
|
int |
nprops |
|
) |
| |
|
inline |
Replace storage with npmx by nprops values.
- Parameters
-
| [in] | label | Kokkos allocation label used by profiling tools. |
| [in] | npmx | Particle capacity. |
| [in] | nprops | Property-column count. |
References markers.
◆ operator()() [1/2]
| Real32 & orb5x::PointerMarkersR4::operator() |
( |
int |
ip, |
|
|
int |
prop |
|
) |
| |
|
inline |
Access a mutable value by zero-based particle/property index.
- Parameters
-
| [in] | ip | Local particle index. |
| [in] | prop | Property-column index. |
- Returns
- Reference to the selected single-precision value.
References markers.
◆ operator()() [2/2]
| const Real32 & orb5x::PointerMarkersR4::operator() |
( |
int |
ip, |
|
|
int |
prop |
|
) |
| const |
|
inline |
Access a value by zero-based particle/property index.
- Parameters
-
| [in] | ip | Local particle index. |
| [in] | prop | Property-column index. |
- Returns
- Const reference to the selected single-precision value.
References markers.
◆ markers
| Kokkos::View<Real32**> orb5x::PointerMarkersR4::markers |
The documentation for this struct was generated from the following file: