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 14200 for NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/NST/agrif_user.F90 – NEMO

Ignore:
Timestamp:
2020-12-17T15:36:44+01:00 (4 years ago)
Author:
mcastril
Message:

Merging r14117 through r14199 into dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/NST/agrif_user.F90

    r14086 r14200  
    365365         use_sign_north = .TRUE. 
    366366         sign_north = -1. 
     367         CALL Agrif_Bc_variable(ub2b_interp_id,calledweight=1.,procname=interpub2b)   ! must be called before unb_id to define ubdy 
     368         CALL Agrif_Bc_variable(vb2b_interp_id,calledweight=1.,procname=interpvb2b)   ! must be called before vnb_id to define vbdy 
    367369         CALL Agrif_Bc_variable( unb_interp_id,calledweight=1.,procname=interpunb ) 
    368370         CALL Agrif_Bc_variable( vnb_interp_id,calledweight=1.,procname=interpvnb ) 
    369          CALL Agrif_Bc_variable(ub2b_interp_id,calledweight=1.,procname=interpub2b)   ! must be called before unb_id to define ubdy 
    370          CALL Agrif_Bc_variable(vb2b_interp_id,calledweight=1.,procname=interpvb2b)   ! must be called before vnb_id to define vbdy 
    371371         use_sign_north = .FALSE. 
    372372         ubdy(:,:) = 0._wp 
    373373         vbdy(:,:) = 0._wp 
    374       ELSE 
     374      ELSEIF ( ln_dynspg_EXP ) THEN  
    375375         Agrif_UseSpecialValue = ln_spc_dyn 
    376376         use_sign_north = .TRUE. 
    377377         sign_north = -1. 
     378         ubdy(:,:) = 0._wp 
     379         vbdy(:,:) = 0._wp 
    378380         CALL Agrif_Bc_variable( unb_interp_id,calledweight=1.,procname=interpunb ) 
    379381         CALL Agrif_Bc_variable( vnb_interp_id,calledweight=1.,procname=interpvnb ) 
     
    875877      ! 
    876878      ! Some checks 
     879      IF( (.NOT.ln_vert_remap).AND.(jpkglo>Agrif_Parent(jpkglo)) )                    CALL ctl_stop( 'STOP',    & 
     880         &   'agrif_nemo_init: Agrif children must have less or equal number of vertical levels without ln_vert_remap defined' )  
    877881      IF( jpiglo /= nbcellsx + 2 + 2*nn_hls + nbghostcells_x   + nbghostcells_x   )   CALL ctl_stop( 'STOP',    & 
    878882         &   'agrif_nemo_init: Agrif children requires jpiglo == nbcellsx + 2 + 2*nn_hls + 2*nbghostcells_x' ) 
Note: See TracChangeset for help on using the changeset viewer.