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
18a46a70
Commit
18a46a70
authored
5 years ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 06/03/2020: budgets: add condition on NRR for hydrometeor variables and cturb for TKE
parent
552d261a
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/budget_flags.f90
+21
-24
21 additions, 24 deletions
src/MNH/budget_flags.f90
with
21 additions
and
24 deletions
src/MNH/budget_flags.f90
+
21
−
24
View file @
18a46a70
!MNH_LIC Copyright
1994
-20
14
CNRS, Meteo-France and Universite Paul Sabatier
!MNH_LIC Copyright
2002
-20
20
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.
!-----------------------------------------------------------------
!-----------------------------------------------------------------
!--------------- special set of characters for RCS information
!-----------------------------------------------------------------
! $Source$ $Revision$
! MASDEV4_7 budget 2006/05/18 13:07:25
!-----------------------------------------------------------------
!##################
!##################
MODULE
MODI_BUDGET_FLAGS
MODULE
MODI_BUDGET_FLAGS
!##################
!##################
...
@@ -67,16 +62,18 @@ SUBROUTINE BUDGET_FLAGS(OUSERV, OUSERC, OUSERR, &
...
@@ -67,16 +62,18 @@ SUBROUTINE BUDGET_FLAGS(OUSERV, OUSERC, OUSERR, &
!! MODIFICATIONS
!! MODIFICATIONS
!! -------------
!! -------------
!! Original 09/10/02
!! Original 09/10/02
!
!
!
P. Wautelet 06/03/2020: add condition on NRR for hydrometeor variables and cturb for TKE
!-------------------------------------------------------------------------------
!-------------------------------------------------------------------------------
!
!
!* 0. DECLARATIONS
!* 0. DECLARATIONS
! ------------
! ------------
!
!
USE
MODD_BUDGET
USE
MODD_BUDGET
USE
MODD_NSV
,
ONLY
:
NSV
USE
MODD_CONF
,
ONLY
:
LCHECK
USE
MODD_LES
use
modd_conf_n
,
only
:
nrr
USE
MODD_CONF
,
ONLY
:
LCHECK
USE
MODD_LES
,
only
:
LLES_CALL
USE
MODD_NSV
,
ONLY
:
NSV
use
modd_param_n
,
only
:
cturb
!
!
IMPLICIT
NONE
IMPLICIT
NONE
!
!
...
@@ -95,19 +92,19 @@ LOGICAL, INTENT(IN) :: OUSERH ! flag to use hail
...
@@ -95,19 +92,19 @@ LOGICAL, INTENT(IN) :: OUSERH ! flag to use hail
!
!
!-------------------------------------------------------------------------------
!-------------------------------------------------------------------------------
!
!
LBUDGET_U
=
(
LBU_ENABLE
.AND.
LBU_RU
)
.OR.
(
LLES_CALL
.OR.
LCHECK
)
LBUDGET_U
=
(
LBU_ENABLE
.AND.
LBU_RU
)
.OR.
(
LLES_CALL
.OR.
LCHECK
)
LBUDGET_V
=
(
LBU_ENABLE
.AND.
LBU_RV
)
.OR.
(
LLES_CALL
.OR.
LCHECK
)
LBUDGET_V
=
(
LBU_ENABLE
.AND.
LBU_RV
)
.OR.
(
LLES_CALL
.OR.
LCHECK
)
LBUDGET_W
=
(
LBU_ENABLE
.AND.
LBU_RW
)
.OR.
(
LLES_CALL
.OR.
LCHECK
)
LBUDGET_W
=
(
LBU_ENABLE
.AND.
LBU_RW
)
.OR.
(
LLES_CALL
.OR.
LCHECK
)
LBUDGET_TH
=
(
LBU_ENABLE
.AND.
LBU_RTH
)
.OR.
(
LLES_CALL
.OR.
LCHECK
)
LBUDGET_TH
=
(
LBU_ENABLE
.AND.
LBU_RTH
)
.OR.
(
LLES_CALL
.OR.
LCHECK
)
LBUDGET_TKE
=
(
LBU_ENABLE
.AND.
LBU_RTKE
)
.OR.
(
LLES_CALL
.OR.
LCHECK
)
LBUDGET_TKE
=
(
(
LBU_ENABLE
.AND.
LBU_RTKE
)
.OR.
(
LLES_CALL
.OR.
LCHECK
)
)
.AND.
CTURB
/
=
'NONE'
LBUDGET_RV
=
(
LBU_ENABLE
.AND.
LBU_RRV
)
.OR.
((
LLES_CALL
.OR.
LCHECK
)
.AND.
OUSERV
)
LBUDGET_RV
=
(
(
LBU_ENABLE
.AND.
LBU_RRV
)
.OR.
((
LLES_CALL
.OR.
LCHECK
)
.AND.
OUSERV
)
)
.AND.
NRR
>=
1
LBUDGET_RC
=
(
LBU_ENABLE
.AND.
LBU_RRC
)
.OR.
((
LLES_CALL
.OR.
LCHECK
)
.AND.
OUSERC
)
LBUDGET_RC
=
(
(
LBU_ENABLE
.AND.
LBU_RRC
)
.OR.
((
LLES_CALL
.OR.
LCHECK
)
.AND.
OUSERC
)
)
.AND.
NRR
>=
2
LBUDGET_RR
=
(
LBU_ENABLE
.AND.
LBU_RRR
)
.OR.
((
LLES_CALL
.OR.
LCHECK
)
.AND.
OUSERR
)
LBUDGET_RR
=
(
(
LBU_ENABLE
.AND.
LBU_RRR
)
.OR.
((
LLES_CALL
.OR.
LCHECK
)
.AND.
OUSERR
)
)
.AND.
NRR
>=
3
LBUDGET_RI
=
(
LBU_ENABLE
.AND.
LBU_RRI
)
.OR.
((
LLES_CALL
.OR.
LCHECK
)
.AND.
OUSERI
)
LBUDGET_RI
=
(
(
LBU_ENABLE
.AND.
LBU_RRI
)
.OR.
((
LLES_CALL
.OR.
LCHECK
)
.AND.
OUSERI
)
)
.AND.
NRR
>=
4
LBUDGET_RS
=
(
LBU_ENABLE
.AND.
LBU_RRS
)
.OR.
((
LLES_CALL
.OR.
LCHECK
)
.AND.
OUSERS
)
LBUDGET_RS
=
(
(
LBU_ENABLE
.AND.
LBU_RRS
)
.OR.
((
LLES_CALL
.OR.
LCHECK
)
.AND.
OUSERS
)
)
.AND.
NRR
>=
5
LBUDGET_RG
=
(
LBU_ENABLE
.AND.
LBU_RRG
)
.OR.
((
LLES_CALL
.OR.
LCHECK
)
.AND.
OUSERG
)
LBUDGET_RG
=
(
(
LBU_ENABLE
.AND.
LBU_RRG
)
.OR.
((
LLES_CALL
.OR.
LCHECK
)
.AND.
OUSERG
)
)
.AND.
NRR
>=
6
LBUDGET_RH
=
(
LBU_ENABLE
.AND.
LBU_RRH
)
.OR.
((
LLES_CALL
.OR.
LCHECK
)
.AND.
OUSERH
)
LBUDGET_RH
=
(
(
LBU_ENABLE
.AND.
LBU_RRH
)
.OR.
((
LLES_CALL
.OR.
LCHECK
)
.AND.
OUSERH
)
)
.AND.
NRR
>=
7
LBUDGET_SV
=
(
LBU_ENABLE
.AND.
LBU_RSV
)
.OR.
((
LLES_CALL
.OR.
LCHECK
)
.AND.
NSV
>
0
)
LBUDGET_SV
=
(
LBU_ENABLE
.AND.
LBU_RSV
)
.OR.
((
LLES_CALL
.OR.
LCHECK
)
.AND.
NSV
>
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