New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 258 for trunk/NEMO/LIM_SRC/limflx.F90 – NEMO

Ignore:
Timestamp:
2005-09-02T17:48:36+02:00 (19 years ago)
Author:
opalod
Message:

nemo_v1_update_004 : CT : Integration of the control print option for debugging work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/LIM_SRC/limflx.F90

    r247 r258  
    1111   !!---------------------------------------------------------------------- 
    1212   !! * Modules used 
    13    USE par_oce 
    14    USE phycst 
    15    USE ocfzpt 
    16    USE ice_oce 
    17    USE flx_oce 
    18    USE ice 
    19    USE flxblk 
    20    USE lbclnk 
    21    USE in_out_manager 
    22    USE albedo 
     13   USE par_oce          ! ocean parameters 
     14   USE phycst           ! physical constants 
     15   USE ocfzpt           ! surface ocean freezing point 
     16   USE ice_oce          ! sea-ice variable 
     17   USE flx_oce          ! sea-ice/ocean forcings variables 
     18   USE ice              ! LIM sea-ice variables 
     19   USE flxblk           ! bulk formulea 
     20   USE lbclnk           ! ocean lateral boundary condition 
     21   USE in_out_manager   ! I/O manager 
     22   USE albedo           ! albedo parameters 
     23   USE prtctl           ! Print control 
    2324 
    2425   IMPLICIT NONE 
     
    195196#endif 
    196197 
    197       IF(l_ctl) THEN 
    198          WRITE(numout,*) ' lim_flx  ' 
    199          WRITE(numout,*) ' fsolar ', SUM( fsolar(2:nictl,2:njctl) ), ' fnsolar', SUM( fnsolar(2:nictl,2:njctl) ) 
    200          WRITE(numout,*) ' fmass  ', SUM( fmass (2:nictl,2:njctl) ), ' fsalt  ', SUM( fsalt  (2:nictl,2:njctl) ) 
    201          WRITE(numout,*) ' ftaux  ', SUM( ftaux (2:nictl,2:njctl) ), ' ftauy  ', SUM( ftauy  (2:nictl,2:njctl) ) 
    202          WRITE(numout,*) ' freeze ', SUM( freeze(2:nictl,2:njctl) ), ' tn_ice ', SUM( tn_ice (2:nictl,2:njctl) ) 
     198      IF(ln_ctl) THEN 
     199         CALL prt_ctl(tab2d_1=fsolar, clinfo1=' lim_flx: fsolar : ', tab2d_2=fnsolar, clinfo2=' fnsolar : ') 
     200         CALL prt_ctl(tab2d_1=fmass , clinfo1=' lim_flx: fmass  : ', tab2d_2=fsalt  , clinfo2=' fsalt   : ') 
     201         CALL prt_ctl(tab2d_1=ftaux , clinfo1=' lim_flx: ftaux  : ', tab2d_2=ftauy  , clinfo2=' ftauy   : ') 
     202         CALL prt_ctl(tab2d_1=freeze, clinfo1=' lim_flx: freeze : ', tab2d_2=tn_ice , clinfo2=' tn_ice  : ') 
    203203      ENDIF  
    204204    
Note: See TracChangeset for help on using the changeset viewer.