1 #ifndef __SCALE_FILE_H__ 2 #define __SCALE_FILE_H__ 15 typedef float (real32_t);
67 const int32_t suppress );
75 const int32_t precision,
76 const MPI_Offset ntypes,
77 const MPI_Datatype dtype,
79 const int32_t *count );
84 const int32_t suppress,
91 const int32_t suppress,
98 const int32_t suppress,
105 const int32_t suppress,
117 const int32_t *value,
136 const char *time_units,
137 const char *calendar);
143 const char *dim_name,
147 const int32_t precision);
153 const char *dim_name,
155 const int32_t dim_size,
156 const int32_t bounds);
161 const int32_t precision,
162 const MPI_Offset *start,
163 const MPI_Offset *count);
169 const char **dim_names,
173 const int32_t precision);
179 const char **dim_names,
181 const int32_t dtype);
186 const int32_t precision,
187 const MPI_Offset *start,
188 const MPI_Offset *count);
205 const real64_t t_start,
206 const real64_t t_end,
207 const int32_t precision,
209 const int32_t *start,
210 const int32_t *count);
215 const int64_t buf_amount );
int32_t file_get_attribute_int_c(const int32_t fid, const char *vname, const char *key, const int32_t suppress, int32_t *value, const size_t len)
int32_t file_get_attribute_double_c(const int32_t fid, const char *vname, const char *key, const int32_t suppress, double *value, const size_t len)
int32_t file_set_attribute_int_c(const int32_t fid, const char *vname, const char *key, const int32_t *value, const size_t len)
int32_t file_write_axis_c(const int32_t fid, const char *name, const void *val, const int32_t precision, const MPI_Offset *start, const MPI_Offset *count)
int32_t file_detach_buffer_c(const int32_t fid)
int32_t file_set_attribute_double_c(const int32_t fid, const char *vname, const char *key, const double *value, const size_t len)
int32_t file_put_axis_c(const int32_t fid, const char *name, const char *desc, const char *units, const char *dim_name, const int32_t dtype, const void *val, const int32_t size, const int32_t precision)
int32_t file_get_nvars_c(const int32_t fid, int32_t *nvars)
int32_t file_get_step_size_c(const int32_t fid, const char *varname, int32_t *len)
int32_t file_get_attribute_text_c(const int32_t fid, const char *vname, const char *key, const int32_t suppress, char *value, const int32_t len)
int32_t file_write_associatedcoordinate_c(const int32_t fid, const char *name, const void *val, const int32_t precision, const MPI_Offset *start, const MPI_Offset *count)
int32_t file_put_associatedcoordinate_c(const int32_t fid, const char *name, const char *desc, const char *units, const char **dim_names, const int32_t ndims, const int32_t dtype, const void *val, const int32_t precision)
int32_t file_open_c(int32_t *fid, const char *fname, const int32_t mode, const MPI_Comm comm)
int32_t file_set_tunits_c(const int32_t fid, const char *time_units, const char *calendar)
int32_t file_set_option_c(const int32_t fid, const char *filetype, const char *key, const char *val)
int32_t file_get_datainfo_c(datainfo_t *dinfo, const int32_t fid, const char *varname, const int32_t step, const int32_t suppress)
int32_t file_get_varname_c(const int32_t fid, const int32_t vid, char *name, const int32_t len)
int32_t file_close_c(const int32_t fid)
int32_t file_add_variable_c(const int32_t fid, const char *varname, const char *desc, const char *units, const char *stdname, const char **dims, const int32_t ndims, const int32_t dtype, const real64_t tint, const int32_t tavg, int32_t *vid)
int32_t file_write_data_c(const int32_t fid, const int32_t vid, const void *var, const real64_t t_start, const real64_t t_end, const int32_t precision, const int32_t ndims, const int32_t *start, const int32_t *count)
int32_t file_flush_c(const int32_t fid)
int32_t file_set_attribute_text_c(const int32_t fid, const char *vname, const char *key, const char *value)
int32_t file_def_associatedcoordinate_c(const int32_t fid, const char *name, const char *desc, const char *units, const char **dim_names, const int32_t ndims, const int32_t dtype)
int32_t file_read_data_c(void *var, const datainfo_t *dinfo, const int32_t precision, const MPI_Offset ntypes, const MPI_Datatype dtype, const int32_t *start, const int32_t *count)
int32_t file_enddef_c(const int32_t fid)
int32_t file_def_axis_c(const int32_t fid, const char *name, const char *desc, const char *units, const char *dim_name, const int32_t dtype, const int32_t dim_size, const int32_t bounds)
int32_t file_set_attribute_float_c(const int32_t fid, const char *vname, const char *key, const float *value, const size_t len)
int32_t file_get_attribute_float_c(const int32_t fid, const char *vname, const char *key, const int32_t suppress, float *value, const size_t len)
int32_t file_attach_buffer_c(const int32_t fid, const int64_t buf_amount)
int32_t file_get_dim_length_c(const int32_t fid, const char *dimname, int32_t *len)
int32_t file_add_associatedvariable_c(const int32_t fid, const char *vname)