Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Méso-NH code
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RODIER Quentin
Méso-NH code
Commits
637ad89e
Commit
637ad89e
authored
6 years ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 01/02/2019: bug: forgotten if for iib=iie and XX (same as for YY)
parent
a1a84910
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
src/MNH/write_surf_mnh.f90
+5
-4
5 additions, 4 deletions
src/MNH/write_surf_mnh.f90
with
5 additions
and
4 deletions
src/MNH/write_surf_mnh.f90
+
5
−
4
View file @
637ad89e
!MNH_LIC Copyright 1997-201
8
CNRS, Meteo-France and Universite Paul Sabatier
!MNH_LIC Copyright 1997-201
9
CNRS, Meteo-France and Universite Paul Sabatier
!MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
!MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
!MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
!MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
!MNH_LIC for details. version 1.
!MNH_LIC for details. version 1.
!-----------------------------------------------------------------
!-----------------------------------------------------------------
MODULE
MODE_WRITE_SURF_MNH_TOOLS
MODULE
MODE_WRITE_SURF_MNH_TOOLS
...
@@ -276,6 +276,7 @@ END SUBROUTINE WRITE_SURFX0_MNH
...
@@ -276,6 +276,7 @@ END SUBROUTINE WRITE_SURFX0_MNH
!!
!!
!! original 01/08/03
!! original 01/08/03
!! Philippe Wautelet: 05/2016-04/2018: new data structures and calls for I/O
!! Philippe Wautelet: 05/2016-04/2018: new data structures and calls for I/O
!! P. Wautelet 01/02/2019: bug: forgotten if for iib=iie and XX (same as for YY)
!----------------------------------------------------------------------------
!----------------------------------------------------------------------------
!
!
!* 0. DECLARATIONS
!* 0. DECLARATIONS
...
@@ -412,7 +413,7 @@ END IF
...
@@ -412,7 +413,7 @@ END IF
CALL
GET_SURF_UNDEF
(
ZUNDEF
)
CALL
GET_SURF_UNDEF
(
ZUNDEF
)
WHERE
(
ZWORK
==
ZUNDEF
)
ZWORK
=
XUNDEF
WHERE
(
ZWORK
==
ZUNDEF
)
ZWORK
=
XUNDEF
!
!
!! Add cases in 2D (IJB=IJE) and 1D (IJB=IJE and IIB=IIE)
!! Add cases in 2D (IJB=IJE) and 1D (IJB=IJE and IIB=IIE)
!! to write the correct mesh
!! to write the correct mesh
IF
(
(
CSTORAGE_TYPE
==
'PG'
.OR.
CSTORAGE_TYPE
==
'SU'
)
&
IF
(
(
CSTORAGE_TYPE
==
'PG'
.OR.
CSTORAGE_TYPE
==
'SU'
)
&
...
@@ -425,7 +426,7 @@ IF ( (CSTORAGE_TYPE=='PG' .OR. CSTORAGE_TYPE=='SU') &
...
@@ -425,7 +426,7 @@ IF ( (CSTORAGE_TYPE=='PG' .OR. CSTORAGE_TYPE=='SU') &
ZW1D
(
J1D
)
=
2.
*
ZW1D
(
J1D
+1
)
-
ZW1D
(
J1D
+2
)
ZW1D
(
J1D
)
=
2.
*
ZW1D
(
J1D
+1
)
-
ZW1D
(
J1D
+2
)
ZW1D
(
IIU
+1
-
J1D
)
=
2.
*
ZW1D
(
IIU
-
J1D
)
-
ZW1D
(
IIU
-
J1D
-1
)
ZW1D
(
IIU
+1
-
J1D
)
=
2.
*
ZW1D
(
IIU
-
J1D
)
-
ZW1D
(
IIU
-
J1D
-1
)
END
DO
END
DO
ELSE
IF
(
IIB
==
IIE
.AND.
HREC
==
'DX'
)
THEN
ELSE
IF
(
IIB
==
IIE
.AND.
(
HREC
==
'DX'
.OR.
HREC
==
'XX'
)
)
THEN
ZW1D
(
IIB
-1
)
=
-
0.5
*
ZWORK
(
IIB
,
1
+
JPHEXT
)
ZW1D
(
IIB
-1
)
=
-
0.5
*
ZWORK
(
IIB
,
1
+
JPHEXT
)
ZW1D
(
IIB
)
=
0.5
*
ZWORK
(
IIB
,
1
+
JPHEXT
)
ZW1D
(
IIB
)
=
0.5
*
ZWORK
(
IIB
,
1
+
JPHEXT
)
ZW1D
(
IIB
+1
)
=
1.5
*
ZWORK
(
IIB
,
1
+
JPHEXT
)
ZW1D
(
IIB
+1
)
=
1.5
*
ZWORK
(
IIB
,
1
+
JPHEXT
)
...
...
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