Skip to content
Snippets Groups Projects
Commit 4b52d2dd authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

vlist.h: update from cdi-pio

parent c9690b04
No related branches found
No related tags found
No related merge requests found
#ifndef _VLIST_H
#define _VLIST_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stddef.h> /* size_t */
#ifdef USE_MPI
#include <mpi.h>
#endif
#ifndef _CDI_LIMITS_H
# include "cdi_limits.h"
#endif
......@@ -44,6 +52,14 @@ typedef struct
levinfo_t;
typedef struct
{
int rank;
int offset;
int chunk;
}
deco_t;
typedef struct
{
int ens_index;
......@@ -86,6 +102,10 @@ typedef struct
int complevel; // compression level
ensinfo_t *ensdata; /* Ensemble information */
cdi_atts_t atts;
int iorank;
int decoSize;
deco_t *deco;
}
var_t;
......@@ -125,6 +145,12 @@ int vlistHasTime(int vlistID);
int vlistDelAtts(int vlistID, int varID);
int vlistCopyVarAtts(int vlistID1, int varID_1, int vlistID2, int varID_2);
#ifdef USE_MPI
void vlistUnpack(char * buffer, int bufferSize, int * pos, int, MPI_Comm comm);
void vlistDefVarDeco ( int vlistID, int varID, int decoSize,
deco_t * deco );
#endif
/* vlistDefVarValidrange: Define the valid range of a Variable */
void vlistDefVarValidrange(int vlistID, int varID, const double *validrange);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment