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
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
VIE Benoît
Méso-NH code
Commits
de13e12f
Commit
de13e12f
authored
6 months ago
by
RODIER Quentin
Browse files
Options
Downloads
Patches
Plain Diff
Quentin 17/09/2024: fix spawning/prep with previous model run with NRAD_AGG>1
parent
4987168e
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/ini_radiations_agg.f90
+12
-10
12 additions, 10 deletions
src/MNH/ini_radiations_agg.f90
with
12 additions
and
10 deletions
src/MNH/ini_radiations_agg.f90
+
12
−
10
View file @
de13e12f
...
...
@@ -77,7 +77,7 @@ USE PARKIND1, ONLY: JPRB
!
USE
MODD_CST
USE
MODD_LUNIT_n
,
ONLY
:
TLUOUT
USE
MODD_CONF
,
ONLY
:
NHALO
USE
MODD_CONF
,
ONLY
:
NHALO
,
CPROGRAM
USE
MODD_LBC_n
,
ONLY
:
CLBCX
,
CLBCY
USE
MODD_PARAMETERS
,
ONLY
:
JPHEXT
!
...
...
@@ -136,15 +136,17 @@ IMI = GET_CURRENT_MODEL_INDEX()
ILUOUT
=
TLUOUT
%
NLU
!
IF
(
KRAD_AGG
>
NHALO
+1
)
THEN
WRITE
(
ILUOUT
,
*
)
' +------------------------------------------------------+'
WRITE
(
ILUOUT
,
*
)
' [ Error in Radiation columns aggregation |'
WRITE
(
ILUOUT
,
*
)
' [ NRAD_AGG = '
,
KRAD_AGG
,
' |'
WRITE
(
ILUOUT
,
*
)
' [ NHALO = '
,
NHALO
,
' |'
WRITE
(
ILUOUT
,
*
)
' [ NRAD_AGG must be smaller than or equal to NHALO+1 |'
WRITE
(
ILUOUT
,
*
)
' +------------------------------------------------------+'
!
CALL
PRINT_MSG
(
NVERB_FATAL
,
'GEN'
,
'INI_RADIATIONS_AGG'
,
'Incoherence between NRAD_AGG and NHALO'
)
IF
(
CPROGRAM
==
'MESONH'
)
THEN
IF
(
KRAD_AGG
>
NHALO
+1
)
THEN
WRITE
(
ILUOUT
,
*
)
' +------------------------------------------------------+'
WRITE
(
ILUOUT
,
*
)
' [ Error in Radiation columns aggregation |'
WRITE
(
ILUOUT
,
*
)
' [ NRAD_AGG = '
,
KRAD_AGG
,
' |'
WRITE
(
ILUOUT
,
*
)
' [ NHALO = '
,
NHALO
,
' |'
WRITE
(
ILUOUT
,
*
)
' [ NRAD_AGG must be smaller than or equal to NHALO+1 |'
WRITE
(
ILUOUT
,
*
)
' +------------------------------------------------------+'
!
CALL
PRINT_MSG
(
NVERB_FATAL
,
'GEN'
,
'INI_RADIATIONS_AGG'
,
'Incoherence between NRAD_AGG and NHALO'
)
END
IF
END
IF
!
!* 2. COMPUTE DIMENSIONS OF ARRAYS AND OTHER INDICES
...
...
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