Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
cf25c0c9
Commit
cf25c0c9
authored
Jul 15, 2019
by
Uwe Schulzweida
Browse files
Renamed cdfDefVars() to cdfDefCoordinateVars().
parent
8245b614
Changes
5
Show whitespace changes
Inline
Side-by-side
src/namespace.c
View file @
cf25c0c9
...
...
@@ -28,7 +28,7 @@ static int activeNamespace = 0;
{ .func = (void (*)()) nc__create }, \
{ .func = (void (*)()) cdf_def_var_serial }, \
{ .func = (void (*)()) cdfDefTimestep }, \
{ .func = (void (*)()) cdfDefVars }
{ .func = (void (*)()) cdfDef
Coordinate
Vars }
#else
#define CDI_NETCDF_SWITCHES
...
...
src/pio_server.c
View file @
cf25c0c9
...
...
@@ -513,7 +513,7 @@ cdiPioServerCdfDefVars(stream_t *streamptr)
if
(
commInqIOMode
()
==
PIO_NONE
||
((
rank
=
commInqRankColl
())
==
(
rankOpen
=
cdiPioSerialOpenFileMap
(
streamptr
->
self
))))
cdfDefVars
(
streamptr
);
cdfDef
Coordinate
Vars
(
streamptr
);
}
static
void
...
...
src/stream.c
View file @
cf25c0c9
...
...
@@ -1690,7 +1690,7 @@ void cdiStreamSetupVlist_(stream_t *streamptr, int vlistID)
case
CDI_FILETYPE_NC4C
:
case
CDI_FILETYPE_NC5
:
{
/* calls cdfDefVars in serial mode but
/* calls cdfDef
Coordinate
Vars in serial mode but
* cdiPioClientStreamNOP (i.e. nothing) on client ranks
* and cdiPioServerCdfDefVars on server ranks in parallel mode*/
void
(
*
myCdfDefVars
)(
stream_t
*
streamptr
)
...
...
src/stream_cdf.h
View file @
cf25c0c9
...
...
@@ -3,7 +3,7 @@
#include "cdi_int.h"
void
cdfDefVars
(
stream_t
*
streamptr
);
void
cdfDef
Coordinate
Vars
(
stream_t
*
streamptr
);
void
cdfDefTimestep
(
stream_t
*
streamptr
,
int
tsID
);
int
cdfInqTimestep
(
stream_t
*
streamptr
,
int
tsID
);
int
cdfInqContents
(
stream_t
*
streamptr
);
...
...
src/stream_cdf_o.c
View file @
cf25c0c9
...
...
@@ -1990,7 +1990,7 @@ void cdfDefHistory(stream_t *streamptr, int size, const char *history)
}
void
cdfDefVars
(
stream_t
*
streamptr
)
void
cdfDef
Coordinate
Vars
(
stream_t
*
streamptr
)
{
const
int
vlistID
=
streamptr
->
vlistID
;
if
(
vlistID
==
CDI_UNDEFID
)
Error
(
"Internal problem! vlist undefined for streamptr %p"
,
streamptr
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment