Changeset 8103


Ignore:
Timestamp:
2017-05-31T11:49:51+02:00 (3 years ago)
Author:
cbricaud
Message:

change computing of rnf_b_crs and emp_b_crs to ensure restartability of passive trcacer in CRS mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/OPA_SRC/CRS/crsfld.F90

    r8101 r8103  
    155155#endif 
    156156 
    157       IF( kt == nit000 )THEN 
    158          CALL crs_dom_ope( rnf_b ,'SUM', 'T', tmask, rnf_b_crs , p_e12=e1e2t, p_surf_crs=e1e2w_msk(:,:,1), psgn=1.0 ) 
    159          CALL crs_dom_ope( emp_b ,'SUM', 'T', tmask, emp_b_crs , p_e12=e1e2t, p_surf_crs=e1e2w_msk(:,:,1), psgn=1.0 ) 
    160       ELSE 
    161          emp_b_crs(:,:)        = emp_crs(:,:) 
    162          rnf_b_crs(:,:)        = rnf_crs(:,:) 
    163       ENDIF 
     157      CALL crs_dom_ope( rnf_b ,'SUM', 'T', tmask, rnf_b_crs , p_e12=e1e2t, p_surf_crs=e1e2w_msk(:,:,1), psgn=1.0 ) 
     158      CALL crs_dom_ope( emp_b ,'SUM', 'T', tmask, emp_b_crs , p_e12=e1e2t, p_surf_crs=e1e2w_msk(:,:,1), psgn=1.0 ) 
    164159 
    165160      !  Temperature 
Note: See TracChangeset for help on using the changeset viewer.