|
Oakfield API Documentation 1.0.0
Numerical core APIs
|
Zero-copy view over a field patch. More...
#include <field_patch.h>

Public Attributes | |
| SimBufferView | buffer_view |
| SimFieldPatch | patch |
| size_t | row_stride |
| bool | readonly |
| bool | zero_copy |
| size_t | shape_storage [2] |
| size_t | stride_storage [2] |
Zero-copy view over a field patch.
The buffer view points into the source field's storage. The shape/stride storage arrays are owned by the view struct and back buffer_view.layout.
| SimBufferView SimFieldPatchView::buffer_view |
Typed view over patch elements.
| SimFieldPatch SimFieldPatchView::patch |
Patch coordinates represented by the view.
| bool SimFieldPatchView::readonly |
Advisory flag for callers that must not mutate.
| size_t SimFieldPatchView::row_stride |
Physical element stride between rows.
| size_t SimFieldPatchView::shape_storage[2] |
Local shape backing for buffer_view.layout.
| size_t SimFieldPatchView::stride_storage[2] |
Local stride backing for buffer_view.layout.
| bool SimFieldPatchView::zero_copy |
True when data points into source field storage.