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 10425 for NEMO/trunk/src/OCE/SBC/sbcapr.F90 – NEMO

Ignore:
Timestamp:
2018-12-19T22:54:16+01:00 (5 years ago)
Author:
smasson
Message:

trunk: merge back dev_r10164_HPC09_ESIWACE_PREP_MERGE@10424 into the trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/SBC/sbcapr.F90

    r10068 r10425  
    9494      ! 
    9595      IF( ln_ref_apr ) THEN                        !* Compute whole inner domain mean masked ocean surface 
    96          tarea = glob_sum( e1e2t(:,:) ) 
     96         tarea = glob_sum( 'sbcapr', e1e2t(:,:) ) 
    9797         IF(lwp) WRITE(numout,*) '         Variable ref. Patm computed over a ocean surface of ', tarea*1e-6, 'km2' 
    9898      ELSE 
     
    141141         ! 
    142142         !                                                  !* update the reference atmospheric pressure (if necessary) 
    143          IF( ln_ref_apr )   rn_pref = glob_sum( sf_apr(1)%fnow(:,:,1) * e1e2t(:,:) ) / tarea 
     143         IF( ln_ref_apr )   rn_pref = glob_sum( 'sbcapr', sf_apr(1)%fnow(:,:,1) * e1e2t(:,:) ) / tarea 
    144144         ! 
    145145         !                                                  !* Patm related forcing at kt 
Note: See TracChangeset for help on using the changeset viewer.