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
57173057
Commit
57173057
authored
4 years ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
P. Wautelet 25/01/2021: bugfix: do not call Write_budget at the beginning of the simulation
(cherry picked from commit
58270fcf
)
parent
5eb10090
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/MNH/endstep_budget.f90
+9
-6
9 additions, 6 deletions
src/MNH/endstep_budget.f90
with
9 additions
and
6 deletions
src/MNH/endstep_budget.f90
+
9
−
6
View file @
57173057
!MNH_LIC Copyright 199
4
-201
8
CNRS, Meteo-France and Universite Paul Sabatier
!MNH_LIC Copyright 199
5
-20
2
1 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.
!-----------------------------------------------------------------
!-----------------------------------------------------------------
!##########################
!##########################
...
@@ -94,8 +94,8 @@ END MODULE MODI_ENDSTEP_BUDGET
...
@@ -94,8 +94,8 @@ END MODULE MODI_ENDSTEP_BUDGET
!! N. Asensio 22/06/99 // MASK case : delete KIU,KJU,KKU arguments
!! N. Asensio 22/06/99 // MASK case : delete KIU,KJU,KKU arguments
!! and change the write_budget call
!! and change the write_budget call
!! C.Lac 11/09/15 adaptation to FIT temporal scheme
!! C.Lac 11/09/15 adaptation to FIT temporal scheme
! P
hilippe
Wautelet: 05/2016-04/2018: new data structures and calls for I/O
! P
.
Wautelet: 05/2016-04/2018: new data structures and calls for I/O
!
!
!
P. Wautelet 25/01/2021: bugfix: do not call Write_budget at the beginning of the simulation
!-------------------------------------------------------------------------------
!-------------------------------------------------------------------------------
!
!
!* 0. DECLARATIONS
!* 0. DECLARATIONS
...
@@ -121,15 +121,18 @@ INTEGER, INTENT(IN) :: KSV ! Number of Scalar Variables
...
@@ -121,15 +121,18 @@ INTEGER, INTENT(IN) :: KSV ! Number of Scalar Variables
!
!
!-------------------------------------------------------------------------------
!-------------------------------------------------------------------------------
!
!
!Do not call Write_budget at the beginning of the simulation (this is necessary in the case were xbulen = xtstep)
IF
(
KTCOUNT
==
1
)
RETURN
SELECT
CASE
(
CBUTYPE
)
SELECT
CASE
(
CBUTYPE
)
!
!
!
!
!* 1. 'CART' CASE
!* 1. 'CART' CASE
! -----------
! -----------
!
!
CASE
(
'CART'
,
'SKIP'
)
CASE
(
'CART'
,
'SKIP'
)
!
!
!* 1.1 storage of the budget fields
!* 1.1 storage of the budget fields
!
!
IF
(
MODULO
(
KTCOUNT
,
NBUSTEP
*
NBUWRNB
)
==
0
)
THEN
IF
(
MODULO
(
KTCOUNT
,
NBUSTEP
*
NBUWRNB
)
==
0
)
THEN
CALL
WRITE_BUDGET
(
TPDIAFILE
,
TPDTCUR
,
TPDTMOD
,
PTSTEP
,
KSV
)
CALL
WRITE_BUDGET
(
TPDIAFILE
,
TPDTCUR
,
TPDTMOD
,
PTSTEP
,
KSV
)
...
...
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