![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Accessor for read-write access to static nvar buffer data. More...
#include <shamrock/include/shamrock/patch/PatchDataFieldSpan.hpp>
Public Member Functions | |
| T & | operator() (u32 idx, u32 offset) const |
| Access to element at index idx and offset var. | |
| template<typename Dummy = void, typename = std::enable_if_t<nvar == 1, Dummy>> | |
| T & | operator() (u32 idx) const |
| Access without offset if nvar is 1. | |
Public Attributes | |
| T * | ptr |
| Pointer to the data. | |
Accessor for read-write access to static nvar buffer data.
Definition at line 61 of file PatchDataFieldSpan.hpp.
|
inline |
Access without offset if nvar is 1.
Definition at line 69 of file PatchDataFieldSpan.hpp.
|
inline |
Access to element at index idx and offset var.
Definition at line 65 of file PatchDataFieldSpan.hpp.
| T* shamrock::details::PatchDataFieldSpan_access_rw_static_nvar< T, nvar >::ptr |
Pointer to the data.
Definition at line 62 of file PatchDataFieldSpan.hpp.