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
Méso-NH
Méso-NH code
Commits
63ea1d8e
Commit
63ea1d8e
authored
4 years ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 10/02/2021: bugfix: initialized PPART_DRY everywhere
(cherry picked from commit
56f432de
)
parent
848e7d85
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
src/MNH/compute_entr_detr.f90
+10
-5
10 additions, 5 deletions
src/MNH/compute_entr_detr.f90
with
10 additions
and
5 deletions
src/MNH/compute_entr_detr.f90
+
10
−
5
View file @
63ea1d8e
!MNH_LIC Copyright 2009-201
9
CNRS, Meteo-France and Universite Paul Sabatier
!MNH_LIC Copyright 2009-20
2
1 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.
...
@@ -120,20 +120,21 @@ END MODULE MODI_COMPUTE_ENTR_DETR
...
@@ -120,20 +120,21 @@ END MODULE MODI_COMPUTE_ENTR_DETR
!! improvement of continuity at the condensation level
!! improvement of continuity at the condensation level
!! S. Riette Nov 2013: protection against zero divide for min value of dry PDETR
!! S. Riette Nov 2013: protection against zero divide for min value of dry PDETR
!! R.Honnert Oct 2016 : Update with AROME
!! R.Honnert Oct 2016 : Update with AROME
! P. Wautelet 08/02/2019: bug fix: compute ZEPSI_CLOUD only once and only when it is needed
! P. Wautelet 08/02/2019: bugfix: compute ZEPSI_CLOUD only once and only when it is needed
! P. Wautelet 10/02/2021: bugfix: initialized PPART_DRY everywhere
!! --------------------------------------------------------------------------
!! --------------------------------------------------------------------------
!
!
!* 0. DECLARATIONS
!* 0. DECLARATIONS
! ------------
! ------------
!
!
USE
MODD_CST
USE
MODD_CST
!
USE
MODD_PARAM_MFSHALL_n
USE
MODD_PARAM_MFSHALL_n
!
USE
MODD_PARAMETERS
,
ONLY
:
XUNDEF
USE
MODI_TH_R_FROM_THL_RT_1D
USE
MODE_THERMO
USE
MODE_THERMO
USE
MODI_TH_R_FROM_THL_RT_1D
IMPLICIT
NONE
IMPLICIT
NONE
!
!
!
!
...
@@ -234,6 +235,10 @@ INTEGER :: JI,JLOOP
...
@@ -234,6 +235,10 @@ INTEGER :: JI,JLOOP
ZMIXTHL
(:)
=
0.1
ZMIXTHL
(:)
=
0.1
ZMIXRT
(:)
=
0.1
ZMIXRT
(:)
=
0.1
!Initialize PPART_DRY everywhere to prevent access to non-initialized values
! (intent(out) arrays have undefined values at subroutine entry)
PPART_DRY
(:)
=
XUNDEF
! 1.4 Estimation of PPART_DRY
! 1.4 Estimation of PPART_DRY
DO
JLOOP
=
1
,
SIZE
(
OTEST
)
DO
JLOOP
=
1
,
SIZE
(
OTEST
)
IF
(
OTEST
(
JLOOP
)
.AND.
OTESTLCL
(
JLOOP
))
THEN
IF
(
OTEST
(
JLOOP
)
.AND.
OTESTLCL
(
JLOOP
))
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