PIO  2.5.4
List of all members | Public Attributes
wmulti_buffer Struct Reference

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

#include <pio.h>

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.
 
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.
 
int * frame
 An array of current record numbers, for record vars. More...
 
void * fillvalue
 Array of fill values used for each var.
 
void * data
 Pointer to the data.
 
int htid
 uthash handle for hash of buffers
 
UT_hash_handle hh
 Hash table entry.
 

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.

◆ 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().


◆ 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.


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