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 7599 for branches/UKMO/dev_r5518_GO6_package_for_static_diagnostics/NEMOGCM/NEMO/OPA_SRC/TRA/trabbc.F90 – NEMO

Ignore:
Timestamp:
2017-01-23T16:12:59+01:00 (8 years ago)
Author:
timgraham
Message:

Fully working version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_package_for_static_diagnostics/NEMOGCM/NEMO/OPA_SRC/TRA/trabbc.F90

    r7582 r7599  
    9191      IF( kt == nit000 ) THEN 
    9292      !Output the geothermal heat flux once for CMIP6 diagnostics 
    93          wrk_alloc(jpi, jpj, ztmp) 
    94          ztmp(:,:) = qgh_trd0(:,:)*rcp_rau0 
     93         CALL wrk_alloc(jpi, jpj, ztmp) 
     94         DO jj=1,jpj 
     95            DO ji=1,jpi 
     96               ztmp(ji,jj) = qgh_trd0(ji,jj)*rau0_rcp 
     97            ENDDO 
     98         ENDDO 
    9599         CALL iom_put( 'hfgeou', ztmp ) 
    96          wrk_dealloc(jpi, jpj, ztmp) 
     100         CALL wrk_dealloc(jpi, jpj, ztmp) 
    97101      ENDIF 
    98102 
Note: See TracChangeset for help on using the changeset viewer.