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

Joris 13/12/2023: print list of fields (for output files) only if not empty...

Joris 13/12/2023: print list of fields (for output files) only if not empty (can be empty if use of IO_Field_user_write)
parent ab8a8281
No related branches found
No related tags found
No related merge requests found
...@@ -327,8 +327,8 @@ DO IMI = 1, NMODEL ...@@ -327,8 +327,8 @@ DO IMI = 1, NMODEL
END DO END DO
end if end if
! !
IF (IOUT_NUMB>0) THEN IF ( IOUT_NUMB>0 .AND. SIZE(OUT_MODEL(IMI)%TOUTPUTN(1)%NFIELDLIST)>0 ) THEN
PRINT *,'Field list:' PRINT *,'List of fields:'
DO JOUT = 1,SIZE(OUT_MODEL(IMI)%TOUTPUTN(1)%NFIELDLIST) DO JOUT = 1,SIZE(OUT_MODEL(IMI)%TOUTPUTN(1)%NFIELDLIST)
IDX=OUT_MODEL(IMI)%TOUTPUTN(1)%NFIELDLIST(JOUT) IDX=OUT_MODEL(IMI)%TOUTPUTN(1)%NFIELDLIST(JOUT)
PRINT *,' ',TRIM(TFIELDLIST(IDX)%CMNHNAME) PRINT *,' ',TRIM(TFIELDLIST(IDX)%CMNHNAME)
......
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