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
Méso-NH
Méso-NH code
Commits
e8d7cb53
Commit
e8d7cb53
authored
8 years ago
by
Gaelle DELAUTIER
Browse files
Options
Downloads
Patches
Plain Diff
Gaelle 20/01/2017 : bug chemistry : modify test for prod/loss terms computation
parent
e47bc9a5
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/ch_monitorn.f90
+4
-1
4 additions, 1 deletion
src/MNH/ch_monitorn.f90
src/MNH/ini_modeln.f90
+4
-4
4 additions, 4 deletions
src/MNH/ini_modeln.f90
with
8 additions
and
5 deletions
src/MNH/ch_monitorn.f90
+
4
−
1
View file @
e8d7cb53
...
...
@@ -110,6 +110,7 @@ END MODULE MODI_CH_MONITOR_n
!! 11/12/15 (M. Leriche & P. Tulet) add ch_init_ice initialise index for ice chem.
!! 18/01/16 (M Leriche) for sedimentation fusion C2R2 and khko
!! 15/02/16 (M Leriche) call ch_init_rosenbrock only one time
!! 20/01/17 (G.Delautier) bug if CPROGRAM/=DIAG
!!
!! EXTERNAL
!! --------
...
...
@@ -621,7 +622,9 @@ SELECT CASE (CCH_TDISCRETIZATION)
END
SELECT
!
!
IF
(
LEN_TRIM
(
CSPEC_BU_DIAG
)/
=
0.
OR
.
LEN_TRIM
(
CSPEC_DIAG
)/
=
0
)
GSPLIT
=
.FALSE.
! Modif. for DIAG
IF
(
CPROGRAM
==
'DIAG '
)
THEN
IF
(
LEN_TRIM
(
CSPEC_BU_DIAG
)/
=
0.
OR
.
LEN_TRIM
(
CSPEC_DIAG
)/
=
0
)
GSPLIT
=
.FALSE.
! Modif. for DIAG
END
IF
!
!
!* 1.6 allocate tables
...
...
This diff is collapsed.
Click to expand it.
src/MNH/ini_modeln.f90
+
4
−
4
View file @
e8d7cb53
...
...
@@ -270,7 +270,8 @@ END MODULE MODI_INI_MODEL_n
!! M.Leriche 2016 Chemistry
!! 10/2016 M.Mazoyer New KHKO output fields
!! 10/2016 (C.Lac) Add max values
!! F. Brosse Oct. 2016 add prod/loss terms computation for chemistry
!! F. Brosse Oct. 2016 add prod/loss terms computation for chemistry
!! 01/2017 (G.Delautier) bug chemistry : modify test for prod/loss terms computation
!---------------------------------------------------------------------------------
!
!* 0. DECLARATIONS
...
...
@@ -2174,12 +2175,11 @@ IF ( LFOREFIRE ) THEN
,
TDTCUR
%
TDATE
%
YEAR
,
TDTCUR
%
TDATE
%
MONTH
,
TDTCUR
%
TDATE
%
DAY
,
TDTCUR
%
TIME
,
XTSTEP
)
END
IF
#endif
!-------------------------------------------------------------------------------
!
!* 30. Total production/Loss for chemical species
!
IF
(
LUSECHEM
.OR.
LCHEMDIAG
)
THEN
IF
(
LCHEMDIAG
)
THEN
CALL
CH_INIT_PRODLOSSTOT_n
(
ILUOUT
)
IF
(
NEQ_PLT
>
0
)
THEN
ALLOCATE
(
XPROD
(
IIU
,
IJU
,
IKU
,
NEQ_PLT
))
...
...
@@ -2199,7 +2199,7 @@ END IF
!
!* 31. Extended production/loss terms for chemical species
!
IF
(
LUSECHEM
.OR.
LCHEMDIAG
)
THEN
IF
(
LCHEMDIAG
)
THEN
CALL
CH_INIT_BUDGET_n
(
ILUOUT
)
IF
(
NEQ_BUDGET
>
0
)
THEN
ALLOCATE
(
IINDEX
(
2
,
NNONZEROTERMS
))
...
...
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