- Timestamp:
- 2018-09-12T15:59:13+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2018/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/NST_SRC/agrif_user.F90
r7256 r10115 241 241 WRITE(cl_check2,*) NINT(rdt) 242 242 WRITE(cl_check3,*) NINT(Agrif_Parent(rdt)/Agrif_Rhot()) 243 CALL ctl_ warn( 'incompatible time step between grids', &243 CALL ctl_stop( 'incompatible time step between grids', & 244 244 & 'parent grid value : '//cl_check1 , & 245 245 & 'child grid value : '//cl_check2 , & 246 & 'value on child grid willbe changed to : '//cl_check3 )247 rdt=Agrif_Parent(rdt)/Agrif_Rhot()246 & 'value on child grid must be changed to : '//cl_check3 ) 247 ! rdt=Agrif_Parent(rdt)/Agrif_Rhot() 248 248 ENDIF 249 249 … … 254 254 WRITE(cl_check2,*) Agrif_Parent(nitend) *Agrif_IRhot() 255 255 CALL ctl_warn( 'incompatible run length between grids' , & 256 & ' nit000 on fine grid will be change to : '//cl_check1, &257 & ' nitend on fine grid will be change to : '//cl_check2 )256 & ' nit000 on fine grid will be changed to : '//cl_check1, & 257 & ' nitend on fine grid will be changed to : '//cl_check2 ) 258 258 nit000 = (Agrif_Parent(nit000)-1)*Agrif_IRhot() + 1 259 259 nitend = Agrif_Parent(nitend) *Agrif_IRhot() … … 610 610 WRITE(cl_check2,*) rdt 611 611 WRITE(cl_check3,*) rdt*Agrif_Rhot() 612 CALL ctl_ warn( 'incompatible time step between grids', &612 CALL ctl_stop( 'incompatible time step between grids', & 613 613 & 'parent grid value : '//cl_check1 , & 614 614 & 'child grid value : '//cl_check2 , & 615 & 'value on child grid willbe changed to &615 & 'value on child grid must be changed to & 616 616 & :'//cl_check3 ) 617 rdt=rdt*Agrif_Rhot()617 ! rdt=rdt*Agrif_Rhot() 618 618 ENDIF 619 619 … … 624 624 WRITE(cl_check2,*) Agrif_Parent(nitend) *Agrif_IRhot() 625 625 CALL ctl_warn( 'incompatible run length between grids' , & 626 & ' nit000 on fine grid will be change to : '//cl_check1, &627 & ' nitend on fine grid will be change to : '//cl_check2 )626 & ' nit000 on fine grid will be changed to : '//cl_check1, & 627 & ' nitend on fine grid will be changed to : '//cl_check2 ) 628 628 nit000 = (Agrif_Parent(nit000)-1)*Agrif_IRhot() + 1 629 629 nitend = Agrif_Parent(nitend) *Agrif_IRhot()
Note: See TracChangeset
for help on using the changeset viewer.