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
99a8dd69
Commit
99a8dd69
authored
9 months ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 30/05/2024: IO_Bakout_struct_prepare: simplify dummy arguments
parent
a12ba4d1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/LIB/SURCOUCHE/src/mode_io_manage_struct.f90
+3
-4
3 additions, 4 deletions
src/LIB/SURCOUCHE/src/mode_io_manage_struct.f90
src/MNH/init_mnh.f90
+1
-1
1 addition, 1 deletion
src/MNH/init_mnh.f90
with
4 additions
and
5 deletions
src/LIB/SURCOUCHE/src/mode_io_manage_struct.f90
+
3
−
4
View file @
99a8dd69
...
...
@@ -52,7 +52,7 @@ INTEGER, SAVE :: NFILE_STAT_MAXSIZE = 0 ! Maximum number of files in file list
CONTAINS
!
!###################################################
SUBROUTINE
IO_Bakout_struct_prepare
(
KSUP
,
PSEGLEN
)
SUBROUTINE
IO_Bakout_struct_prepare
(
)
!###################################################
!
USE
MODD_BAKOUT
...
...
@@ -70,8 +70,7 @@ USE MODN_OUTPUT, ONLY: OUTPUT_NML_DEALLOCATE
IMPLICIT
NONE
!
INTEGER
,
INTENT
(
IN
)
::
KSUP
! supp. time steps
REAL
,
INTENT
(
IN
)
::
PSEGLEN
! segment duration (in seconds)
INTEGER
,
PARAMETER
::
NSUPTS
=
1
! supp. time steps
!
INTEGER
::
IBAK_NUM
INTEGER
::
IOUT_NUM
...
...
@@ -355,7 +354,7 @@ DO IMI = 1, NMODEL
IOUT_NUM
=
0
!Reduce XSEGLEN by time added to XSEGLEN for 1st domain (see set_grid subroutine)
ISTEP_MAX
=
NINT
(
(
XSEGLEN
-
K
SUP
*
DYN_MODEL
(
1
)
%
XTSTEP
)
/
DYN_MODEL
(
IMI
)
%
XTSTEP
)
+
1
ISTEP_MAX
=
NINT
(
(
XSEGLEN
-
N
SUP
TS
*
DYN_MODEL
(
1
)
%
XTSTEP
)
/
DYN_MODEL
(
IMI
)
%
XTSTEP
)
+
1
! Check that provided times are multiples of model timestep and not after end of segment
! After that, insert them in the lists (in timesteps instead of seconds)
...
...
This diff is collapsed.
Click to expand it.
src/MNH/init_mnh.f90
+
1
−
1
View file @
99a8dd69
...
...
@@ -238,7 +238,7 @@ END DO
!
! Prepare the characteristics of the backup and output files
! This has to be done once INI_MODEL_n has been done for ALL models
IF
(
CPROGRAM
==
'MESONH'
)
CALL
IO_Bakout_struct_prepare
(
1
,
XSEGLEN
)
IF
(
CPROGRAM
==
'MESONH'
)
CALL
IO_Bakout_struct_prepare
(
)
!
!-------------------------------------------------------------------------------
!
...
...
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