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
5e27729f
Commit
5e27729f
authored
10 years ago
by
ESCOBAR Juan
Browse files
Options
Downloads
Patches
Plain Diff
Juan 12/11/2014: manage correctly IIB,IIE etc
parent
33fe2d65
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
MNH/fast_terms.f90
+10
-23
10 additions, 23 deletions
MNH/fast_terms.f90
with
10 additions
and
23 deletions
MNH/fast_terms.f90
+
10
−
23
View file @
5e27729f
...
...
@@ -27,11 +27,11 @@ INTEGER, INTENT(IN) :: KMI ! Model index
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
HFMFILE
! Name of the output FM-file
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
HLUOUT
! Output-listing name for
! model n
CHARACTER
*
4
,
INTENT
(
IN
)
::
HTURBDIM
! Dimensionality of the
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
HTURBDIM
! Dimensionality of the
! turbulence scheme
CHARACTER
(
LEN
=
4
),
INTENT
(
IN
)
::
HSCONV
! Shallow convection scheme
CHARACTER
(
LEN
=
4
),
INTENT
(
IN
)
::
HMF_CLOUD
! Type of statistical cloud
CHARACTER
*
4
,
INTENT
(
IN
)
::
HRAD
! Radiation scheme name
CHARACTER
(
LEN
=
*
),
INTENT
(
IN
)
::
HSCONV
! Shallow convection scheme
CHARACTER
(
LEN
=
*
),
INTENT
(
IN
)
::
HMF_CLOUD
! Type of statistical cloud
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
HRAD
! Radiation scheme name
LOGICAL
,
INTENT
(
IN
)
::
OCLOSE_OUT
! Conditional closure of
! the OUTPUT FM-file
LOGICAL
,
INTENT
(
IN
)
::
OSUBG_COND
! Switch for Subgrid
...
...
@@ -50,8 +50,8 @@ REAL, DIMENSION(:,:,:), INTENT(INOUT) :: PRCS ! Cloud water m.r. source
REAL
,
DIMENSION
(:,:,:),
OPTIONAL
,
INTENT
(
IN
)
::
PRRS
! Rain water m.r. source
!
!
REAL
,
DIMENSION
(:,:,:),
INTENT
(
IN
)
::
PCF_MF
! Convective Mass Flux Cloud fraction
REAL
,
DIMENSION
(:,:,:),
INTENT
(
IN
)
::
PRC_MF
! Convective Mass Flux liquid mixing ratio
REAL
,
DIMENSION
(:,:,:),
INTENT
(
IN
)
::
PCF_MF
! Convective Mass Flux Cloud fraction
REAL
,
DIMENSION
(:,:,:),
INTENT
(
IN
)
::
PRC_MF
! Convective Mass Flux liquid mixing ratio
!
REAL
,
DIMENSION
(:,:,:),
INTENT
(
INOUT
)
::
PTHS
! Theta source
REAL
,
DIMENSION
(:,:,:),
INTENT
(
OUT
)
::
PSRCS
! Second-order flux
...
...
@@ -183,11 +183,11 @@ INTEGER, INTENT(IN) :: KMI ! Model index
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
HFMFILE
! Name of the output FM-file
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
HLUOUT
! Output-listing name for
! model n
CHARACTER
*
4
,
INTENT
(
IN
)
::
HTURBDIM
! Dimensionality of the
CHARACTER
(
LEN
=*
)
,
INTENT
(
IN
)
::
HTURBDIM
! Dimensionality of the
! turbulence scheme
CHARACTER
(
LEN
=
4
),
INTENT
(
IN
)
::
HSCONV
! Shallow convection scheme
CHARACTER
(
LEN
=
4
),
INTENT
(
IN
)
::
HMF_CLOUD
! Type of statistical cloud
CHARACTER
*
4
,
INTENT
(
IN
)
::
HRAD
! Radiation scheme name
CHARACTER
(
LEN
=
*
),
INTENT
(
IN
)
::
HSCONV
! Shallow convection scheme
CHARACTER
(
LEN
=
*
),
INTENT
(
IN
)
::
HMF_CLOUD
! Type of statistical cloud
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
HRAD
! Radiation scheme name
LOGICAL
,
INTENT
(
IN
)
::
OCLOSE_OUT
! Conditional closure of
! the OUTPUT FM-file
LOGICAL
,
INTENT
(
IN
)
::
OSUBG_COND
! Switch for Subgrid
...
...
@@ -233,11 +233,6 @@ INTEGER :: IRESP ! Return code of FM routines
INTEGER
::
ILENG
! Length of comment string in LFIFM file
INTEGER
::
IGRID
! C-grid indicator in LFIFM file
INTEGER
::
ILENCH
! Length of comment string in LFIFM file
INTEGER
::
IKB
! K index value of the first inner mass point
INTEGER
::
IKE
! K index value of the last inner mass point
INTEGER
::
IIB
,
IJB
! Horz index values of the first inner mass points
INTEGER
::
IIE
,
IJE
! Horz index values of the last inner mass points
INTEGER
::
IPLAN
! Number of horz inner points
INTEGER
::
JK
! Var for vertical DO loops
INTEGER
::
JITER
,
ITERMAX
! iterative loop for first order adjustment
INTEGER
::
ILUOUT
! Logical unit of output listing
...
...
@@ -249,14 +244,6 @@ CHARACTER (LEN=16) :: YRECFM ! Name of the desired field in LFIFM file
! -------------
!
CALL
FMLOOK_ll
(
HLUOUT
,
HLUOUT
,
ILUOUT
,
IRESP
)
!!$IIB = 1 + JPHEXT
!!$IIE = SIZE(PRHODJ,1) - JPHEXT
!!$IJB = 1 + JPHEXT
!!$IJE = SIZE(PRHODJ,2) - JPHEXT
CALL
GET_INDICE_ll
(
IIB
,
IJB
,
IIE
,
IJE
)
IPLAN
=
(
SIZE
(
PRHODJ
,
1
)
-2
*
JPHEXT
)
*
(
SIZE
(
PRHODJ
,
2
)
-2
*
JPHEXT
)
IKB
=
1
+
JPVEXT
IKE
=
SIZE
(
PRHODJ
,
3
)
-
JPVEXT
ZEPS
=
XMV
/
XMD
!
IF
(
OSUBG_COND
)
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