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
f91777a4
Commit
f91777a4
authored
11 years ago
by
Thomas Jahns
Browse files
Options
Downloads
Patches
Plain Diff
Add missing static declarations.
parent
645b993c
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
examples/pio/compareResourcesArray.c
+5
-4
5 additions, 4 deletions
examples/pio/compareResourcesArray.c
with
5 additions
and
4 deletions
examples/pio/compareResourcesArray.c
+
5
−
4
View file @
f91777a4
...
...
@@ -32,7 +32,7 @@ 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
};
int
defineGrid
()
static
int
defineGrid
()
{
int
gridID
=
CDI_UNDEFID
;
int
mask_vec
[
nlon
*
nlat
];
...
...
@@ -89,7 +89,7 @@ int defineGrid ()
return
gridID
;
}
int
defineZaxis
()
static
int
defineZaxis
()
{
int
zaxisID
=
CDI_UNDEFID
;
double
vct
[
3
]
=
{
3
.
0
,
3
.
3
,
3
.
6
};
...
...
@@ -110,7 +110,7 @@ int defineZaxis ()
return
zaxisID
;
}
int
defineTaxis
()
static
int
defineTaxis
()
{
int
taxisID
=
CDI_UNDEFID
;
...
...
@@ -159,7 +159,8 @@ int defineVlist ( int gridID, int zaxisID, int taxisID )
return
vlistID
;
}
int
defineInstitute
()
static
int
defineInstitute
()
{
int
instID
=
CDI_UNDEFID
;
...
...
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