Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpim-sw
libcdi
Commits
4b52d2dd
Commit
4b52d2dd
authored
12 years ago
by
Uwe Schulzweida
Browse files
Options
Downloads
Patches
Plain Diff
vlist.h: update from cdi-pio
parent
c9690b04
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/vlist.h
+26
-0
26 additions, 0 deletions
src/vlist.h
with
26 additions
and
0 deletions
src/vlist.h
+
26
−
0
View file @
4b52d2dd
#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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment