Skip to content
GitLab
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
6deabc88
Commit
6deabc88
authored
Jul 25, 2012
by
Thomas Jahns
🤸
Browse files
Vary test output with level.
parent
55cb25e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/pio_write.c
View file @
6deabc88
...
...
@@ -77,7 +77,7 @@ modelRegionCompute(double region[], size_t offset, size_t len,
region
[
local_pos
]
=
sign_flat
(
round
((
cos
(
2
.
0
*
M_PI
*
(
lons
[(
i
+
tsID
)
%
nlon
]
-
lons
[
0
])
/
(
lons
[
nlon
-
1
]
-
lons
[
0
]))
*
sin
(
2
.
0
*
M_PI
*
(
lats
[
j
]
-
lats
[
0
])
*
sin
(
2
.
0
*
M_PI
*
(
lats
[
(
j
+
k
)
%
nlat
]
-
lats
[
0
])
/
(
lats
[
nlat
-
1
]
-
lats
[
0
]))
)
*
mscale
))
*
mrscale
;
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment