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
and
there
.
Show more breadcrumbs
IPSL
LMD
DPAO
Detection eddies
Commits
757bad90
Commit
757bad90
authored
3 years ago
by
Lionel GUEZ
Browse files
Options
Downloads
Patches
Plain Diff
Polish
parent
53a93fa8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Overlap/Tests/short_tests.json
+2
-1
2 additions, 1 deletion
Overlap/Tests/short_tests.json
Overlap/Tests/test_overlap.f90
+3
-3
3 additions, 3 deletions
Overlap/Tests/test_overlap.f90
with
5 additions
and
4 deletions
Overlap/Tests/short_tests.json
+
2
−
1
View file @
757bad90
...
@@ -59,7 +59,8 @@
...
@@ -59,7 +59,8 @@
]
]
},
},
{
{
"stdin_filename"
:
"$src_dir/Overlap/Tests/Input/successive_overlap_in.txt"
,
"stdin_filename"
:
"$src_dir/Overlap/Tests/Input/successive_overlap_in.txt"
,
"description"
:
"Overlap of a snapshot with itself."
,
"description"
:
"Overlap of a snapshot with itself."
,
"title"
:
"Successive_overlap"
,
"title"
:
"Successive_overlap"
,
"stdout"
:
"test_overlap_stdout.txt"
,
"stdout"
:
"test_overlap_stdout.txt"
,
...
...
This diff is collapsed.
Click to expand it.
Overlap/Tests/test_overlap.f90
+
3
−
3
View file @
757bad90
...
@@ -49,7 +49,7 @@ program test_overlap
...
@@ -49,7 +49,7 @@ program test_overlap
call
mpi_init
call
mpi_init
call
MPI_Comm_rank
(
MPI_Comm_world
,
rank
)
call
MPI_Comm_rank
(
MPI_Comm_world
,
rank
)
call
mpi_comm_size
(
mpi_comm_world
,
n_proc
)
call
mpi_comm_size
(
mpi_comm_world
,
n_proc
)
if
(
n_proc
/
=
1
)
then
if
(
n_proc
/
=
1
)
then
if
(
rank
==
0
)
print
*
,
"test_overlap: 1 process only"
if
(
rank
==
0
)
print
*
,
"test_overlap: 1 process only"
call
mpi_abort
(
MPI_Comm_world
,
errorcode
=
1
)
call
mpi_abort
(
MPI_Comm_world
,
errorcode
=
1
)
...
@@ -73,7 +73,7 @@ program test_overlap
...
@@ -73,7 +73,7 @@ program test_overlap
if
(
periodic
)
call
assert
(
2
*
dist_lim
*
step_deg
(
1
)
<
180.
,
&
if
(
periodic
)
call
assert
(
2
*
dist_lim
*
step_deg
(
1
)
<
180.
,
&
"test_overlap dist_lim"
)
"test_overlap dist_lim"
)
copy
=
merge
(
dist_lim
,
0
,
periodic
)
copy
=
merge
(
dist_lim
,
0
,
periodic
)
corner
=
corner_deg
*
deg_to_rad
corner
=
corner_deg
*
deg_to_rad
step
=
step_deg
*
deg_to_rad
step
=
step_deg
*
deg_to_rad
allocate
(
flow
(
max_delta
+
1
))
allocate
(
flow
(
max_delta
+
1
))
...
@@ -121,7 +121,7 @@ program test_overlap
...
@@ -121,7 +121,7 @@ program test_overlap
.and.
flow
(
max_delta
+
1
)
%
list_vis
(
i
)
%
delta_in
==
huge
(
0
))
&
.and.
flow
(
max_delta
+
1
)
%
list_vis
(
i
)
%
delta_in
==
huge
(
0
))
&
write
(
unit
=
*
,
fmt
=
"(i0, 1x)"
,
advance
=
"no"
)
i
write
(
unit
=
*
,
fmt
=
"(i0, 1x)"
,
advance
=
"no"
)
i
end
do
end
do
print
*
print
*
call
mpi_finalize
call
mpi_finalize
...
...
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