blob: 321fdac1e561e51f11d8b2a206850003ec75abec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#ifndef _CARPETIOFLEXIO_IOFLEXIOGH_H_
#define _CARPETIOFLEXIO_IOFLEXIOGH_H_ 1
#include "StoreNamedData.h"
/* I took basically everything in this file from Thomas' IOHDF5; much of
below is still unused.. */
/* CARPET IOFLEXIO GH extension structure */
typedef struct
{
/* default number of times to output */
int out_every_default;
/* number of times to output for each variable */
CCTK_INT *out_every;
/* the last iteration output for each variable */
int *out_last;
/* list of variables to output */
char *out_vars;
/* I/O request description list (for all variables) */
ioRequest **requests;
/* directory in which to output */
char *out_dir;
/* filename database for opened files */
pNamedData *open_output_files;
/* timer array for checkpointing/recovery */
// int timers[IOHDF5_NUM_TIMERS];
/* flag to indicate request for timer output */
// int print_timing_info;
/* ring buffer for list of successfully created cp files */
int cp_filename_index;
char **cp_filename_list;
/* iteration number of the last checkpoint */
int last_checkpoint_iteration;
} CarpetIOFlexIOGH;
#endif
|