Oakfield API Documentation 1.0.0
Numerical core APIs
Loading...
Searching...
No Matches
SimBufferView Struct Reference

Non-owning typed view over contiguous, strided, or indexed scalar storage. More...

#include <sim_buffer.h>

Collaboration diagram for SimBufferView:

Public Attributes

void * data
 
size_t count
 
SimBufferDataType type
 
SimFieldLayout layout
 
const size_t * logical_to_physical
 

Detailed Description

Non-owning typed view over contiguous, strided, or indexed scalar storage.

Member Data Documentation

◆ count

size_t SimBufferView::count

Logical element count.

◆ data

void* SimBufferView::data

Caller-owned element storage.

◆ layout

SimFieldLayout SimBufferView::layout

Optional shape/stride metadata.

◆ logical_to_physical

const size_t* SimBufferView::logical_to_physical

Optional linear logical-to-physical index map.

◆ type

SimBufferDataType SimBufferView::type

Scalar storage type for each element.


The documentation for this struct was generated from the following file: