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
b320324e
Commit
b320324e
authored
10 years ago
by
ESCOBAR MUNOZ Juan
Committed by
WAUTELET Philippe
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Juan 28/03/2014: for pb with emissivity/aerosol reset X/MNH/SURF_TINY=1.0e-80 in real8 case
parent
8abd4fd1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/MNH/ini_cst.f90
+6
-2
6 additions, 2 deletions
src/MNH/ini_cst.f90
src/SURFEX/ini_csts.F90
+9
-0
9 additions, 0 deletions
src/SURFEX/ini_csts.F90
with
15 additions
and
2 deletions
src/MNH/ini_cst.f90
+
6
−
2
View file @
b320324e
...
@@ -66,6 +66,7 @@ END MODULE MODI_INI_CST
...
@@ -66,6 +66,7 @@ END MODULE MODI_INI_CST
!! V. Masson 05/10/98 add XRHOLI
!! V. Masson 05/10/98 add XRHOLI
!! C. Mari 31/10/00 add NDAYSEC
!! C. Mari 31/10/00 add NDAYSEC
!! V. Masson 01/03/03 add XCONDI
!! V. Masson 01/03/03 add XCONDI
!! J. Escobar 28/03/2014 for pb with emissivity/aerosol reset XMNH_TINY=1.0e-80 in real8 case
!!
!!
!-------------------------------------------------------------------------------
!-------------------------------------------------------------------------------
!
!
...
@@ -156,22 +157,25 @@ XALPI = LOG(XESTT) + (XBETAI /XTT) + (XGAMI *LOG(XTT))
...
@@ -156,22 +157,25 @@ XALPI = LOG(XESTT) + (XBETAI /XTT) + (XGAMI *LOG(XTT))
! Some machine precision value depending of real4/8 use
! Some machine precision value depending of real4/8 use
!
!
XMNH_TINY
=
TINY
(
XMNH_TINY
)
XMNH_TINY_12
=
SQRT
(
XMNH_TINY
)
XMNH_EPSILON
=
EPSILON
(
XMNH_EPSILON
)
XMNH_EPSILON
=
EPSILON
(
XMNH_EPSILON
)
XMNH_HUGE
=
HUGE
(
XMNH_HUGE
)
XMNH_HUGE
=
HUGE
(
XMNH_HUGE
)
#ifdef MNH_MPI_DOUBLE_PRECISION
#ifdef MNH_MPI_DOUBLE_PRECISION
XMNH_TINY
=
1.0e-80
XEPS_DT
=
1.0e-5
XEPS_DT
=
1.0e-5
XRES_FLAT_CART
=
1.0e-12
XRES_FLAT_CART
=
1.0e-12
XRES_OTHER
=
1.0e-9
XRES_OTHER
=
1.0e-9
XRES_PREP
=
1.0e-8
XRES_PREP
=
1.0e-8
#else
#else
XMNH_TINY
=
TINY
(
XMNH_TINY
)
XEPS_DT
=
1.0e-4
XEPS_DT
=
1.0e-4
XRES_FLAT_CART
=
1.0e-12
XRES_FLAT_CART
=
1.0e-12
XRES_OTHER
=
1.0e-7
XRES_OTHER
=
1.0e-7
XRES_PREP
=
1.0e-4
XRES_PREP
=
1.0e-4
#endif
#endif
XMNH_TINY_12
=
SQRT
(
XMNH_TINY
)
!
!
...
...
This diff is collapsed.
Click to expand it.
src/SURFEX/ini_csts.F90
+
9
−
0
View file @
b320324e
...
@@ -46,6 +46,7 @@
...
@@ -46,6 +46,7 @@
!! C. Mari 31/10/00 add NDAYSEC
!! C. Mari 31/10/00 add NDAYSEC
!! V. Masson 01/03/03 add XCONDI
!! V. Masson 01/03/03 add XCONDI
!! A. Voldoire 01/12/09 add XTTSI, XICEC, XTTS for ESM
!! A. Voldoire 01/12/09 add XTTSI, XICEC, XTTS for ESM
!! J. Escobar 28/03/2014 for pb with emissivity/aerosol reset XSURF_TINY=1.0e-80 in real8 case
!!
!!
!-------------------------------------------------------------------------------
!-------------------------------------------------------------------------------
!
!
...
@@ -76,7 +77,15 @@ REAL(KIND=JPRB) :: ZHOOK_HANDLE
...
@@ -76,7 +77,15 @@ REAL(KIND=JPRB) :: ZHOOK_HANDLE
IF
(
LHOOK
)
CALL
DR_HOOK
(
'INI_CSTS'
,
0
,
ZHOOK_HANDLE
)
IF
(
LHOOK
)
CALL
DR_HOOK
(
'INI_CSTS'
,
0
,
ZHOOK_HANDLE
)
#ifdef MNH
#ifdef MNH_MPI_DOUBLE_PRECISION
XSURF_TINY
=
1.0e-80
#else
XSURF_TINY
=
TINY
(
XSURF_TINY
)
XSURF_TINY
=
TINY
(
XSURF_TINY
)
#endif
#else
XSURF_TINY
=
1.0e-80
#endif
XSURF_TINY_12
=
SQRT
(
XSURF_TINY
)
XSURF_TINY_12
=
SQRT
(
XSURF_TINY
)
XSURF_EPSILON
=
EPSILON
(
XSURF_EPSILON
)
*
10.0
XSURF_EPSILON
=
EPSILON
(
XSURF_EPSILON
)
*
10.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