Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
Detection eddies
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Admin message
Gitlab has been updated. More info
here
.
Show more breadcrumbs
IPSL
LMD
DPAO
Detection eddies
Commits
e38b77a2
Commit
e38b77a2
authored
1 year ago
by
Lionel GUEZ
Browse files
Options
Downloads
Patches
Plain Diff
Rename `i_shpc` to `i_slice`
parent
4530d358
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Overlap/read_snapshot.f90
+9
-9
9 additions, 9 deletions
Overlap/read_snapshot.f90
with
9 additions
and
9 deletions
Overlap/read_snapshot.f90
+
9
−
9
View file @
e38b77a2
...
...
@@ -23,7 +23,7 @@ contains
! Local:
integer
ishape
,
ishape_first
integer
::
i_s
hpc
=
huge
(
0
)
integer
::
i_s
lice
=
huge
(
0
)
integer
date_read
integer
eddy_i
! eddy index
type
(
eddy
)
e
...
...
@@ -31,23 +31,23 @@ contains
!---------------------------------------------------------------------
if
(
size
(
hshpc
)
==
1
)
then
i_s
hpc
=
1
i_s
lice
=
1
else
call
hunt
([
ssm
%
d0
,
huge
(
0
)],
k
,
i_s
hpc
)
call
hunt
([
ssm
%
d0
,
huge
(
0
)],
k
,
i_s
lice
)
end
if
if
(
k
==
ssm
(
i_s
hpc
)
%
d0
)
then
if
(
k
==
ssm
(
i_s
lice
)
%
d0
)
then
ishape_first
=
0
else
! {k > ssm(i_s
hpc
)%d0}
ishape_first
=
ssm
(
i_s
hpc
)
%
ishape_last
(
k
-
1
)
+
1
! {k > ssm(i_s
lice
)%d0}
ishape_first
=
ssm
(
i_s
lice
)
%
ishape_last
(
k
-
1
)
+
1
end
if
s
%
number_extr
=
ssm
(
i_s
hpc
)
%
ishape_last
(
k
)
-
ishape_first
+
1
s
%
number_extr
=
ssm
(
i_s
lice
)
%
ishape_last
(
k
)
-
ishape_first
+
1
allocate
(
s
%
list
(
s
%
number_extr
))
do
ishape
=
ishape_first
,
ssm
(
i_s
hpc
)
%
ishape_last
(
k
)
call
read_eddy
(
e
,
date_read
,
eddy_i
,
hshpc
(
i_s
hpc
),
ishape
)
do
ishape
=
ishape_first
,
ssm
(
i_s
lice
)
%
ishape_last
(
k
)
call
read_eddy
(
e
,
date_read
,
eddy_i
,
hshpc
(
i_s
lice
),
ishape
)
! Check that all the eddies have the same date index:
if
(
date_read
/
=
k
)
then
...
...
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