- Timestamp:
- 2019-11-25T18:19:39+01:00 (4 years ago)
- Location:
- NEMO/branches/2019/dev_r11943_MERGE_2019
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r11943_MERGE_2019
- Property svn:externals
-
old new 3 3 ^/utils/build/mk@HEAD mk 4 4 ^/utils/tools@HEAD tools 5 ^/vendors/AGRIF/dev @HEAD ext/AGRIF5 ^/vendors/AGRIF/dev_r11615_ENHANCE-04_namelists_as_internalfiles_agrif@HEAD ext/AGRIF 6 6 ^/vendors/FCM@HEAD ext/FCM 7 7 ^/vendors/IOIPSL@HEAD ext/IOIPSL
-
- Property svn:externals
-
NEMO/branches/2019/dev_r11943_MERGE_2019/src/TOP/PISCES/SED/sedini.F90
r11949 r11960 405 405 !!---------------------------------------------------------------------- 406 406 407 INTEGER :: numnamsed_ref = -1 !! Logical units fornamelist sediment408 INTEGER :: numnamsed_cfg = -1 !! Logical units fornamelist sediment407 CHARACTER(:), ALLOCATABLE :: numnamsed_ref !! Character buffer for reference namelist sediment 408 CHARACTER(:), ALLOCATABLE :: numnamsed_cfg !! Character buffer for configuration namelist sediment 409 409 INTEGER :: ios ! Local integer output status for namelist read 410 410 CHARACTER(LEN=20) :: clname … … 451 451 IF(lwp) WRITE(numsed,*) ' sed_init_nam : read SEDIMENT namelist' 452 452 IF(lwp) WRITE(numsed,*) ' ~~~~~~~~~~~~~~' 453 CALL ctl_opn( numnamsed_ref, TRIM( clname )//'_ref', 'OLD' , 'FORMATTED', 'SEQUENTIAL', -1, numout, .FALSE.)454 CALL ctl_opn( numnamsed_cfg, TRIM( clname )//'_cfg', 'OLD' , 'FORMATTED', 'SEQUENTIAL', -1, numout, .FALSE.)453 CALL load_nml( numnamsed_ref, TRIM( clname )//'_ref', numout, lwm ) 454 CALL load_nml( numnamsed_cfg, TRIM( clname )//'_cfg', numout, lwm ) 455 455 456 456 nitsed000 = nittrc000 457 457 nitsedend = nitend 458 458 ! Namelist nam_run 459 REWIND( numnamsed_ref ) ! Namelist nam_run in reference namelist : Pisces variables460 459 READ ( numnamsed_ref, nam_run, IOSTAT = ios, ERR = 901) 461 460 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_run in reference namelist' ) 462 461 463 REWIND( numnamsed_cfg ) ! Namelist nam_run in reference namelist : Pisces variables464 462 READ ( numnamsed_cfg, nam_run, IOSTAT = ios, ERR = 902) 465 463 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_run in configuration namelist' ) … … 473 471 IF ( ln_p5z .AND. ln_sed_2way ) CALL ctl_stop( '2 ways coupling with sediment cannot be activated with PISCES-QUOTA' ) 474 472 475 REWIND( numnamsed_ref ) ! Namelist nam_geom in reference namelist : Pisces variables476 473 READ ( numnamsed_ref, nam_geom, IOSTAT = ios, ERR = 903) 477 474 903 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_geom in reference namelist' ) 478 475 479 REWIND( numnamsed_cfg ) ! Namelist nam_geom in reference namelist : Pisces variables480 476 READ ( numnamsed_cfg, nam_geom, IOSTAT = ios, ERR = 904) 481 477 904 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_geom in configuration namelist' ) … … 496 492 dtsed = r2dttrc 497 493 498 REWIND( numnamsed_ref ) ! Namelist nam_trased in reference namelist : Pisces variables499 494 READ ( numnamsed_ref, nam_trased, IOSTAT = ios, ERR = 905) 500 495 905 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_trased in reference namelist' ) 501 496 502 REWIND( numnamsed_cfg ) ! Namelist nam_trased in reference namelist : Pisces variables503 497 READ ( numnamsed_cfg, nam_trased, IOSTAT = ios, ERR = 906) 504 498 906 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_trased in configuration namelist' ) … … 529 523 ENDIF 530 524 531 REWIND( numnamsed_ref ) ! Namelist nam_diased in reference namelist : Pisces variables532 525 READ ( numnamsed_ref, nam_diased, IOSTAT = ios, ERR = 907) 533 526 907 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_diased in reference namelist' ) 534 527 535 REWIND( numnamsed_cfg ) ! Namelist nam_diased in reference namelist : Pisces variables536 528 READ ( numnamsed_cfg, nam_diased, IOSTAT = ios, ERR = 908) 537 529 908 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_diased in configuration namelist' ) … … 571 563 ! Inorganic chemistry parameters 572 564 !---------------------------------- 573 REWIND( numnamsed_ref ) ! Namelist nam_inorg in reference namelist : Pisces variables574 565 READ ( numnamsed_ref, nam_inorg, IOSTAT = ios, ERR = 909) 575 566 909 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_inorg in reference namelist' ) 576 567 577 REWIND( numnamsed_cfg ) ! Namelist nam_inorg in reference namelist : Pisces variables578 568 READ ( numnamsed_cfg, nam_inorg, IOSTAT = ios, ERR = 910) 579 569 910 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_inorg in configuration namelist' ) … … 597 587 ! Additional parameter linked to POC/O2/No3/Po4 598 588 !---------------------------------------------- 599 REWIND( numnamsed_ref ) ! Namelist nam_poc in reference namelist : Pisces variables600 589 READ ( numnamsed_ref, nam_poc, IOSTAT = ios, ERR = 911) 601 590 911 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_poc in reference namelist' ) 602 591 603 REWIND( numnamsed_cfg ) ! Namelist nam_poc in reference namelist : Pisces variables604 592 READ ( numnamsed_cfg, nam_poc, IOSTAT = ios, ERR = 912) 605 593 912 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_poc in configuration namelist' ) … … 649 637 ! Bioturbation parameter 650 638 !------------------------ 651 REWIND( numnamsed_ref ) ! Namelist nam_btb in reference namelist : Pisces variables652 639 READ ( numnamsed_ref, nam_btb, IOSTAT = ios, ERR = 913) 653 640 913 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_btb in reference namelist' ) 654 641 655 REWIND( numnamsed_cfg ) ! Namelist nam_btb in reference namelist : Pisces variables656 642 READ ( numnamsed_cfg, nam_btb, IOSTAT = ios, ERR = 914) 657 643 914 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_btb in configuration namelist' ) … … 670 656 ! Initial value (t=0) for sediment pore water and solid components 671 657 !---------------------------------------------------------------- 672 REWIND( numnamsed_ref ) ! Namelist nam_rst in reference namelist : Pisces variables673 658 READ ( numnamsed_ref, nam_rst, IOSTAT = ios, ERR = 915) 674 659 915 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_rst in reference namelist' ) 675 660 676 REWIND( numnamsed_cfg ) ! Namelist nam_rst in reference namelist : Pisces variables677 661 READ ( numnamsed_cfg, nam_rst, IOSTAT = ios, ERR = 916) 678 662 916 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_rst in configuration namelist' ) … … 685 669 nn_dtsed = 1 686 670 687 CLOSE( numnamsed_cfg )688 CLOSE( numnamsed_ref )689 671 690 672 END SUBROUTINE sed_init_nam
Note: See TracChangeset
for help on using the changeset viewer.