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
3eaa658f
Commit
3eaa658f
authored
8 years ago
by
Juan Escobar
Browse files
Options
Downloads
Patches
Plain Diff
Juan & JPP 02/02/2017:set_mask.f90, bug for 1 model only <-> remove unneeded FIELD_MODEL%
parent
d2403944
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/set_mask.f90
+5
-4
5 additions, 4 deletions
src/MNH/set_mask.f90
with
5 additions
and
4 deletions
src/MNH/set_mask.f90
+
5
−
4
View file @
3eaa658f
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
!-----------------------------------------------------------------
!-----------------------------------------------------------------
!--------------- special set of characters for RCS information
!--------------- special set of characters for RCS information
!-----------------------------------------------------------------
!-----------------------------------------------------------------
! $Source
$ $Revision
$
! $Source
: /home/cvsroot/MNH-VX-Y-Z/src/MNH/set_mask.f90,v $ $Revision: 1.2.2.1.2.1.18.2
$
! MASDEV4_7 budget 2006/09/08 10:35:15
! MASDEV4_7 budget 2006/09/08 10:35:15
!-----------------------------------------------------------------
!-----------------------------------------------------------------
! ###################
! ###################
...
@@ -57,6 +57,7 @@
...
@@ -57,6 +57,7 @@
!! Modification 18/06/99 (N.Asencio) : // , computation are performed on the extended
!! Modification 18/06/99 (N.Asencio) : // , computation are performed on the extended
!! domain but logical array mask is initialized
!! domain but logical array mask is initialized
!! to FALSE outside the physical domain
!! to FALSE outside the physical domain
!! 02/02/2017 (J.Escobar & JPP ) bug for 1 model only <-> remove unneeded FIELD_MODEL%
!---------------------------------------------------------------------------------------
!---------------------------------------------------------------------------------------
!
!
!* 0. DECLARATIONS
!* 0. DECLARATIONS
...
@@ -64,7 +65,7 @@
...
@@ -64,7 +65,7 @@
!
!
USE
MODD_BUDGET
USE
MODD_BUDGET
USE
MODE_ll
USE
MODE_ll
USE
MODD_FIELD_n
,
ONLY
:
FIELD_MODEL
USE
MODD_FIELD_n
,
ONLY
:
XWT
,
XRT
!
!
!
!
IMPLICIT
NONE
IMPLICIT
NONE
...
@@ -94,11 +95,11 @@ LBU_MASK(:,:,:)=.FALSE.
...
@@ -94,11 +95,11 @@ LBU_MASK(:,:,:)=.FALSE.
! Change the following lines to set the criterion for each of the NBUMASK masks
! Change the following lines to set the criterion for each of the NBUMASK masks
!
!
! 1st mask on vertical velocity at level k=10
! 1st mask on vertical velocity at level k=10
LBU_MASK
(
IIB
:
IIE
,
IJB
:
IJE
,
1
)
=
FIELD_MODEL
(
NBUMOD
)
%
XWT
(
IIB
:
IIE
,
IJB
:
IJE
,
10
)
>
0.
LBU_MASK
(
IIB
:
IIE
,
IJB
:
IJE
,
1
)
=
XWT
(
IIB
:
IIE
,
IJB
:
IJE
,
10
)
>
0.
!
!
!2rd mask on rain mixing ratio at level k=2
!2rd mask on rain mixing ratio at level k=2
IF
(
NBUMASK
>=
2
)
&
IF
(
NBUMASK
>=
2
)
&
LBU_MASK
(
IIB
:
IIE
,
IJB
:
IJE
,
2
)
=
FIELD_MODEL
(
NBUMOD
)
%
XRT
(
IIB
:
IIE
,
IJB
:
IJE
,
2
,
3
)
>
1.E-8
LBU_MASK
(
IIB
:
IIE
,
IJB
:
IJE
,
2
)
=
XRT
(
IIB
:
IIE
,
IJB
:
IJE
,
2
,
3
)
>
1.E-8
!
!
!==============================================================================
!==============================================================================
!
!
...
...
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