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
37044e36
Commit
37044e36
authored
8 years ago
by
Gaelle Tanguy
Committed by
WAUTELET Philippe
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
M.Mazoyer+O.Thouron 26/04/2016 Arrangements
parent
ffb92335
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/prognos.f90
+16
-1
16 additions, 1 deletion
src/MNH/prognos.f90
with
16 additions
and
1 deletion
src/MNH/prognos.f90
+
16
−
1
View file @
37044e36
...
...
@@ -59,6 +59,7 @@ END MODULE MODI_KHKO_NOTADJUST
!! MODIFICATIONS
!! -------------
!! 2014 G.Delautier : remplace MODD_RAIN_C2R2_PARAM par MODD_RAIN_C2R2_KHKO_PARAM
!! 2015 M.Mazoyer and O.Thouron : Physical tunings
!!
!-------------------------------------------------------------------------------
!
...
...
@@ -105,6 +106,7 @@ INTEGER, DIMENSION(SIZE(PRHOD,1)):: IVEC2 ! Vectors of indices for interpolati
INTEGER
::
J1
,
J2
REAL
,
DIMENSION
(
SIZE
(
PS0
,
1
))
::
MEM_PS0
,
ADJU2
REAL
::
AER_RAD
REAL
,
DIMENSION
(
SIZE
(
PRHOD
,
1
))
::
ZFLAG_ACT
!Flag for activation
!
INTEGER
::
IRESP
! Return code of FM routines
INTEGER
::
ILUOUT
! Logical unit of output listing
...
...
@@ -112,6 +114,7 @@ INTEGER :: ILUOUT ! Logical unit of output listing
!minimum radius of cloud droplet
AER_RAD
=
1.0E-6
!
ZFLAG_ACT
(:)
=
0.0
!ACTIVATION
ZVEC2
(:)
=
0.0
IVEC2
(:)
=
0.0
...
...
@@ -144,6 +147,18 @@ END WHERE
ENDIF
ZZW2
(:)
=
MAX
(
(
ZZW2
(:)
-
PCN
(:)),
0.0
)
!
WHERE
(
ZZW2
(:)
.LT.
1.0
)
!Non physique d'activer moins d'une particule
ZZW2
(:)
=
0
END
WHERE
!
!
!FLAG ACTIVE A TRUE (1.0) si on active pas
DO
J2
=
1
,
SIZE
(
PRC
,
1
)
IF
(
ZZW2
(
J2
)
.EQ.
0.0
)
THEN
ZFLAG_ACT
(
J2
)
=
1.0
ENDIF
ENDDO
!
! Mean radius
ZRMOY
(:)
=
0.0
DO
J2
=
1
,
SIZE
(
PRC
,
1
)
...
...
@@ -287,7 +302,7 @@ DO J2=1,SIZE(PRC,1)
ZRMOY
(
J2
)
=
(
MOMG
(
XALPHAC
,
XNUC
,
3.0
)
*
4.0
*
XPI
*
PCL
(
J2
)
*
XRHOLW
/&
(
3.0
*
PRC
(
J2
)
*
PRHOD
(
J2
)))
**
(
1.0
/
3.0
)
ZRMOY
(
J2
)
=
MOMG
(
XALPHAC
,
XNUC
,
1.0
)/
ZRMOY
(
J2
)
IF
(
ZRMOY
(
J2
)
.LT.
AER_RAD
)
THEN
IF
((
ZFLAG_ACT
(
J2
)
.EQ.
1.0
)
.AND.
(
MEM_PS0
(
J2
)
.LT.
0.0
)
.AND.
(
ZRMOY
(
J2
)
.LT.
AER_RAD
)
)
THEN
PTT
(
J2
)
=
ZTL
(
J2
)
PRV
(
J2
)
=
ZRT
(
J2
)
PRC
(
J2
)
=
0.0
...
...
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