Skip to content
Snippets Groups Projects
Commit 5931f1b8 authored by WAUTELET Philippe's avatar WAUTELET Philippe
Browse files

Philippe 14/01/2022: 1 LINI_NSV for each model

parent e8237096
No related branches found
No related tags found
No related merge requests found
...@@ -148,7 +148,7 @@ INTEGER :: JMODE, JMOM, JSV_NAME ...@@ -148,7 +148,7 @@ INTEGER :: JMODE, JMOM, JSV_NAME
! !
!------------------------------------------------------------------------------- !-------------------------------------------------------------------------------
! !
LINI_NSV = .TRUE. LINI_NSV(KMI) = .TRUE.
ILUOUT = TLUOUT%NLU ILUOUT = TLUOUT%NLU
! !
......
!MNH_LIC Copyright 2001-2021 CNRS, Meteo-France and Universite Paul Sabatier !MNH_LIC Copyright 2001-2022 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.
...@@ -46,7 +46,7 @@ SAVE ...@@ -46,7 +46,7 @@ SAVE
! !
REAL,DIMENSION(JPSVMAX) :: XSVMIN ! minimum value for SV variables REAL,DIMENSION(JPSVMAX) :: XSVMIN ! minimum value for SV variables
! !
LOGICAL :: LINI_NSV = .FALSE. ! becomes True when routine INI_NSV is called LOGICAL :: LINI_NSV(JPMODELMAX) = .FALSE. ! becomes True when routine INI_NSV is called
! !
CHARACTER(LEN=JPSVNAMELGTMAX), DIMENSION(:,:), ALLOCATABLE, TARGET :: CSVNAMES_A !Names of all the scalar variables CHARACTER(LEN=JPSVNAMELGTMAX), DIMENSION(:,:), ALLOCATABLE, TARGET :: CSVNAMES_A !Names of all the scalar variables
TYPE(tfieldmetadata), DIMENSION(:,:), ALLOCATABLE, TARGET :: TSVLIST_A !Metadata of all the scalar variables TYPE(tfieldmetadata), DIMENSION(:,:), ALLOCATABLE, TARGET :: TSVLIST_A !Metadata of all the scalar variables
......
!MNH_LIC Copyright 2001-2021 CNRS, Meteo-France and Universite Paul Sabatier !MNH_LIC Copyright 2001-2022 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.
...@@ -45,7 +45,7 @@ INTEGER :: JI, JJ ...@@ -45,7 +45,7 @@ INTEGER :: JI, JJ
TYPE(tfieldmetadata), DIMENSION(:,:), ALLOCATABLE :: YSVLIST_TMP TYPE(tfieldmetadata), DIMENSION(:,:), ALLOCATABLE :: YSVLIST_TMP
! !
! STOP if INI_NSV has not be called yet ! STOP if INI_NSV has not be called yet
IF (.NOT. LINI_NSV) THEN IF ( .NOT. LINI_NSV(KMI) ) THEN
call Print_msg( NVERB_FATAL, 'GEN', 'UPDATE_NSV', 'can not continue because INI_NSV was not called' ) call Print_msg( NVERB_FATAL, 'GEN', 'UPDATE_NSV', 'can not continue because INI_NSV was not called' )
END IF END IF
! !
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment