2011-03-15 18:19:08 +08:00
|
|
|
/*
|
2018-12-07 05:13:56 +08:00
|
|
|
* Copyright 2018-2018 University Corporation for Atmospheric Research/Unidata
|
|
|
|
*
|
2011-03-15 18:19:08 +08:00
|
|
|
* This header contains prototypes for functions only called by fortran 77.
|
|
|
|
*/
|
|
|
|
#ifndef _NETCDF_F_
|
|
|
|
#define _NETCDF_F_
|
|
|
|
|
|
|
|
#include <netcdf.h>
|
|
|
|
|
|
|
|
#if defined(__cplusplus)
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
EXTERNL int
|
|
|
|
nc_inq_var_chunking_ints(int ncid, int varid, int *contiguousp, int *chunksizesp);
|
|
|
|
|
|
|
|
EXTERNL int
|
|
|
|
nc_def_var_chunking_ints(int ncid, int varid, int contiguous, int *chunksizesp);
|
|
|
|
|
|
|
|
EXTERNL int
|
2018-12-07 05:13:56 +08:00
|
|
|
nc_open_par_fortran(const char *path, int mode, int comm,
|
2011-03-15 18:19:08 +08:00
|
|
|
int info, int *ncidp);
|
|
|
|
|
|
|
|
EXTERNL int
|
2018-12-07 05:13:56 +08:00
|
|
|
nc_create_par_fortran(const char *path, int cmode, int comm,
|
2011-03-15 18:19:08 +08:00
|
|
|
int info, int *ncidp);
|
|
|
|
|
|
|
|
EXTERNL int
|
|
|
|
nc_set_chunk_cache_ints(int size, int nelems, int preemption);
|
|
|
|
|
|
|
|
EXTERNL int
|
|
|
|
nc_get_chunk_cache_ints(int *sizep, int *nelemsp, int *preemptionp);
|
|
|
|
|
|
|
|
EXTERNL int
|
2018-12-07 05:13:56 +08:00
|
|
|
nc_set_var_chunk_cache_ints(int ncid, int varid, int size, int nelems,
|
2011-03-15 18:19:08 +08:00
|
|
|
int preemption);
|
|
|
|
EXTERNL int
|
2018-12-07 05:13:56 +08:00
|
|
|
nc_get_var_chunk_cache_ints(int ncid, int varid, int *sizep,
|
2011-03-15 18:19:08 +08:00
|
|
|
int *nelemsp, int *preemptionp);
|
|
|
|
|
|
|
|
/* Prototypes for some extra functions in fort-lib.c. */
|
2018-12-07 05:13:56 +08:00
|
|
|
EXTERNL int
|
2011-03-15 18:19:08 +08:00
|
|
|
nc_inq_varids_f(int ncid, int *nvars, int *fvarids);
|
|
|
|
|
2018-12-07 05:13:56 +08:00
|
|
|
EXTERNL int
|
2011-03-15 18:19:08 +08:00
|
|
|
nc_inq_dimids_f(int ncid, int *ndims, int *fdimids, int parent);
|
|
|
|
|
2018-12-07 05:13:56 +08:00
|
|
|
EXTERNL int
|
|
|
|
nc_insert_array_compound_f(int ncid, int typeid1, char *name,
|
2011-03-15 18:19:08 +08:00
|
|
|
size_t offset, nc_type field_typeid,
|
|
|
|
int ndims, int *dim_sizesp);
|
|
|
|
|
2018-12-07 05:13:56 +08:00
|
|
|
EXTERNL int
|
|
|
|
nc_inq_compound_field_f(int ncid, nc_type xtype, int fieldid, char *name,
|
|
|
|
size_t *offsetp, nc_type *field_typeidp, int *ndimsp,
|
2011-03-15 18:19:08 +08:00
|
|
|
int *dim_sizesp);
|
|
|
|
|
|
|
|
#if defined(__cplusplus)
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|