- Timestamp:
- 2020-06-03T16:36:09+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendors/AGRIF/dev_r12970_AGRIF_CMEMS/AGRIF_FILES/modinterpbasic.F90
r5656 r13027 220 220 !CDIR ALTCODE 221 221 !CDIR NODEP 222 if (associated(agrif_external_linear_interp)) then 223 do i = 1,nc 224 y(i)=agrif_external_linear_interp(x(MAX(indparent(i,dir),1)), & 225 x(indparent(i,dir)+1),coeffparent(i,dir)) 226 enddo 227 else 222 228 do i = 1,nc 223 229 y(i) = coeffparent(i,dir) * x(MAX(indparent(i,dir),1)) + & 224 230 (1.-coeffparent(i,dir)) * x(indparent(i,dir)+1) 225 231 enddo 232 endif 226 233 !--------------------------------------------------------------------------------------------------- 227 234 end subroutine Linear1dAfterCompute
Note: See TracChangeset
for help on using the changeset viewer.