SCORPIO  1.7.0
List of all members | Public Attributes
wmulti_buffer Struct Reference

The multi buffer holds data from one or more variables. More...

#include <pio.h>

Collaboration diagram for wmulti_buffer:
Collaboration graph
[legend]

Public Attributes

int ioid
 The ID that describes the decomposition, as returned from PIOc_Init_Decomp(). More...
 
int recordvar
 Non-zero if this is a buffer for a record var. More...
 
int num_arrays
 Number of arrays of data in the multibuffer. More...
 
int arraylen
 Size of this variables data on local task. More...
 
int * vid
 Array of varids. More...
 
int * frame
 An array of current record numbers, for record vars. More...
 
void * fillvalue
 Array of fill values used for each var. More...
 
void * data
 Pointer to the data. More...
 
struct wmulti_buffernext
 Pointer to the next multi-buffer in the list. More...
 

Detailed Description

The multi buffer holds data from one or more variables.

Data are accumulated in the multi-buffer.

Member Data Documentation

◆ arraylen

int wmulti_buffer::arraylen

Size of this variables data on local task.

All vars in the multi-buffer have the same size.

◆ data

void* wmulti_buffer::data

Pointer to the data.

◆ fillvalue

void* wmulti_buffer::fillvalue

Array of fill values used for each var.

◆ frame

int* wmulti_buffer::frame

An array of current record numbers, for record vars.

One element per variable.

◆ ioid

int wmulti_buffer::ioid

The ID that describes the decomposition, as returned from PIOc_Init_Decomp().


◆ next

struct wmulti_buffer* wmulti_buffer::next

Pointer to the next multi-buffer in the list.

◆ num_arrays

int wmulti_buffer::num_arrays

Number of arrays of data in the multibuffer.

Each array had data for one var or record. When multibuffer is flushed, all arrays are written and num_arrays returns to zero.

◆ recordvar

int wmulti_buffer::recordvar

Non-zero if this is a buffer for a record var.

◆ vid

int* wmulti_buffer::vid

Array of varids.


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