Changeset 19 for trunk/NEMO/OPA_SRC/SBC/ocesbc.F90
- Timestamp:
- 2004-02-17T09:36:55+01:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/SBC/ocesbc.F90
r3 r19 14 14 USE ice_oce 15 15 USE blk_oce 16 USE flx_oce 16 17 USE phycst ! Define parameters for the routines 17 18 USE taumod … … 23 24 USE ocfzpt 24 25 USE lbclnk 26 USE lib_mpp 25 27 USE in_out_manager ! I/O manager 26 28 … … 33 35 !! * Shared module variables 34 36 REAL(wp), PUBLIC :: & 35 aplus, aminus, & 36 empold = 0.e0 !current year freshwater budget correction37 aplus, aminus, & !: 38 empold = 0.e0 !: current year freshwater budget correction 37 39 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: & 38 qt , & ! total surface heat flux (w/m2)39 q , & ! surface heat flux (w/m2)40 qsr , & ! solar radiation (w/m2)41 emp , & ! evaporation minus precipitation (kg/m2/s = mm/s)42 emps, & ! evaporation - precipitation (free surface)43 qrp , & ! heat flux damping (w/m2)44 erp ! evaporation damping (kg/m2/s = mm/s)40 qt , & !: total surface heat flux (w/m2) 41 q , & !: surface heat flux (w/m2) 42 qsr , & !: solar radiation (w/m2) 43 emp , & !: evaporation minus precipitation (kg/m2/s = mm/s) 44 emps, & !: evaporation - precipitation (free surface) 45 qrp , & !: heat flux damping (w/m2) 46 erp !: evaporation damping (kg/m2/s = mm/s) 45 47 #if defined key_dynspg_fsc 46 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: & 47 dmp ! internal dampind term48 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: & !: 49 dmp !: internal dampind term 48 50 #endif 49 51 … … 188 190 189 191 !! * Local declarations 190 INTEGER :: ji, jj ! dummy loop indices191 REAL ztx, ztaux, zty, ztauy192 INTEGER :: ji, jj ! dummy loop indices 193 REAL(wp) :: ztx, ztaux, zty, ztauy 192 194 !!---------------------------------------------------------------------- 193 195 … … 609 611 610 612 runoff(:,:) = 0.e0 611 ENDIF612 613 END SUBROUTINE oce_sbc613 ENDIF 614 615 END SUBROUTINE oce_sbc 614 616 615 617 # endif 616 618 #endif 617 619 620 #if defined key_dtasal 621 !!---------------------------------------------------------------------- 622 !! 'key_dtasal' salinity data 623 !!---------------------------------------------------------------------- 618 624 SUBROUTINE oce_sbc_dmp 619 625 !!--------------------------------------------------------------------- 620 !! *** ROUTINE oce_sbc_dmp***626 !! *** ROUTINE oce_sbc_dmp *** 621 627 !! 622 628 !! ** Purpose : Computation of internal and evaporation damping terms … … 624 630 !! 625 631 !! History : 626 !! 1.0 ! 99-11 (M. Imbard) Original code 627 !! ! 01-03 (D. Ludicone, E. Durand, G. Madec) free surf. 628 !! 2.0 ! 02-09 (G. Madec, C. Ethe) F90: Free form and module 632 !! 9.0 ! 04-01 (G. Madec, C. Ethe) Original code 629 633 !!---------------------------------------------------------------------- 630 634 !! * Local declarations 631 635 INTEGER :: ji, jj ! dummy loop indices 632 636 REAL(wp), DIMENSION(jpi,jpj) :: zsss, zfreeze 637 REAL(wp) :: zerp, ztrp, zsrp 633 638 #if defined key_dynspg_fsc 634 REAL zwei, zerp, ztrp, zsrp635 REAL zerpplus(jpi,jpj), zerpminus(jpi,jpj)636 REAL zplus, zminus, zadefi639 REAL(wp) :: zwei 640 REAL(wp) :: zerpplus(jpi,jpj), zerpminus(jpi,jpj) 641 REAL(wp) :: zplus, zminus, zadefi 637 642 # if defined key_tradmp 638 643 INTEGER jk … … 712 717 END DO 713 718 END DO 714 # if defined key_mpp 715 CALL mpp_sum( aplus ) ! mpp: sum over all the global domain 716 CALL mpp_sum( aminus ) 717 # endif 719 IF( lk_mpp ) CALL mpp_sum( aplus ) ! sums over the global domain 720 IF( lk_mpp ) CALL mpp_sum( aminus ) 718 721 IF( l_ctl .AND. lwp ) WRITE(numout,*) ' oce_sbc_dmp : a+ = ', aplus, ' a- = ', aminus 719 722 … … 734 737 END SUBROUTINE oce_sbc_dmp 735 738 739 #else 740 !!---------------------------------------------------------------------- 741 !! Dummy routine NO salinity data 742 !!---------------------------------------------------------------------- 743 SUBROUTINE oce_sbc_dmp ! Dummy routine 744 WRITE(*,*) 'oce_sbc_dmp: you should not have seen that print! error?' 745 END SUBROUTINE oce_sbc_dmp 746 #endif 747 736 748 !!====================================================================== 737 749 END MODULE ocesbc
Note: See TracChangeset
for help on using the changeset viewer.