Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpim-sw
libcdi
Commits
b86a88eb
Commit
b86a88eb
authored
9 years ago
by
Thomas Jahns
Browse files
Options
Downloads
Patches
Plain Diff
Add missing static declarations.
parent
08044b05
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_resource_copy.c
+11
-11
11 additions, 11 deletions
tests/test_resource_copy.c
with
11 additions
and
11 deletions
tests/test_resource_copy.c
+
11
−
11
View file @
b86a88eb
...
...
@@ -28,11 +28,11 @@ enum {
nlev
=
5
,
ntsteps
=
3
};
double
lons
[
nlon
]
=
{
0
,
30
,
60
,
90
,
120
,
150
,
180
,
210
,
240
,
270
,
300
,
330
};
double
lats
[
nlat
]
=
{
-
75
,
-
45
,
-
15
,
15
,
45
,
75
};
double
levs
[
nlev
]
=
{
101300
,
92500
,
85000
,
50000
,
20000
};
static
double
lons
[
nlon
]
=
{
0
,
30
,
60
,
90
,
120
,
150
,
180
,
210
,
240
,
270
,
300
,
330
};
static
double
lats
[
nlat
]
=
{
-
75
,
-
45
,
-
15
,
15
,
45
,
75
};
static
double
levs
[
nlev
]
=
{
101300
,
92500
,
85000
,
50000
,
20000
};
int
defineGrid
()
static
int
defineGrid
(
void
)
{
int
gridID
=
CDI_UNDEFID
;
int
mask_vec
[
nlon
*
nlat
];
...
...
@@ -94,7 +94,7 @@ int defineGrid ()
return
gridID
;
}
int
defineZaxis
()
static
int
defineZaxis
(
void
)
{
int
zaxisID
=
CDI_UNDEFID
;
double
vct
[
3
]
=
{
3
.
0
,
3
.
3
,
3
.
6
};
...
...
@@ -120,7 +120,7 @@ int defineZaxis ()
return
zaxisID
;
}
int
defineTaxis
()
static
int
defineTaxis
(
void
)
{
int
taxisID
=
CDI_UNDEFID
;
...
...
@@ -140,7 +140,7 @@ int defineTaxis ()
return
taxisID
;
}
void
defineStream
(
int
streamID
,
int
vlistID
)
static
void
defineStream
(
int
streamID
,
int
vlistID
)
{
streamDefByteorder
(
streamID
,
1
);
streamDefCompType
(
streamID
,
2
);
...
...
@@ -152,7 +152,7 @@ struct idPair {
int
id1
,
id2
;
};
struct
idPair
defineVlist
(
int
gridID
,
int
zaxisID
,
int
taxisID
)
static
struct
idPair
defineVlist
(
int
gridID
,
int
zaxisID
,
int
taxisID
)
{
int
vlistID
=
CDI_UNDEFID
;
int
zaxisID2
=
zaxisCreate
(
ZAXIS_SURFACE
,
1
);
...
...
@@ -176,7 +176,7 @@ struct idPair defineVlist ( int gridID, int zaxisID, int taxisID )
return
(
struct
idPair
){
vlistID
,
vlistID2
};
}
int
defineInstitute
()
static
int
defineInstitute
()
{
int
instID
=
CDI_UNDEFID
;
...
...
@@ -185,7 +185,7 @@ int defineInstitute ()
return
instID
;
}
int
defineModel
(
int
instID
)
static
int
defineModel
(
int
instID
)
{
int
modelID
=
CDI_UNDEFID
;
...
...
@@ -196,7 +196,7 @@ int defineModel ( int instID )
static
int
destNamespace
;
int
modelRun
(
MPI_Comm
comm
)
static
int
modelRun
(
MPI_Comm
comm
)
{
int
gridID
,
zaxisID
,
taxisID
,
instID
,
vlistID
,
streamID
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment