Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
b631fb7c
Commit
b631fb7c
authored
Nov 19, 2013
by
Thomas Jahns
🤸
Browse files
Group related same type declarations.
parent
aa369b0d
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/simple_model.c
View file @
b631fb7c
...
...
@@ -72,10 +72,10 @@ modelRun(struct model_config setup, MPI_Comm comm)
{
static
const
char
*
const
fname_prefix
=
"example"
;
int
gridID
,
*
zaxisID
,
taxis
ID
;
int
vlistID
,
*
varIDs
,
streamID
,
tsID
,
tfID
=
0
;
int
*
nlev
,
*
zaxisID
,
*
var
ID
s
;
int
gridID
,
taxisID
,
vlistID
,
streamID
,
tsID
,
tfID
=
0
;
int
i
,
nmiss
=
0
;
double
*
lons
,
*
lats
;
double
*
lons
,
*
lats
,
*
levs
;
double
*
var
=
NULL
,
*
varslice
=
NULL
;
double
mscale
,
mrscale
;
time_t
current_time
;
...
...
@@ -85,8 +85,6 @@ modelRun(struct model_config setup, MPI_Comm comm)
int
nlon
=
setup
.
nlon
,
nlat
=
setup
.
nlat
;
uint32_t
checksum_state
[
nVars
];
size_t
varSize
[
nVars
],
varslice_size
=
0
;
int
*
nlev
;
double
*
levs
;
#if USE_MPI
int
*
chunks
=
NULL
,
*
displs
=
NULL
,
comm_size
=
1
;
struct
var1DDeco
{
...
...
Write
Preview
Supports
Markdown
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