Changeset 15231 for NEMO/releases/r4.0/r4.0-HEAD/src/OCE/FLO/flodom.F90
- Timestamp:
- 2021-09-08T09:58:57+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/releases/r4.0/r4.0-HEAD/src/OCE/FLO/flodom.F90
r11818 r15231 366 366 REAL(wp) :: zabt, zbct, zcdt, zdat, zabpt, zbcpt, zcdpt, zdapt 367 367 !!--------------------------------------------------------------------- 368 !! Statement function369 REAL(wp) :: fsline370 REAL(wp) :: psax, psay, psbx, psby, psx, psy371 fsline( psax, psay, psbx, psby, psx, psy ) = psy * ( psbx - psax ) &372 & - psx * ( psby - psay ) &373 & + psax * psby - psay * psbx374 !!---------------------------------------------------------------------375 368 376 369 ! 4 semi plane defined by the 4 points and including the T point … … 407 400 END SUBROUTINE flo_findmesh 408 401 402 FUNCTION fsline( psax, psay, psbx, psby, psx, psy ) 403 !! --------------------------------------------------------------------- 404 !! *** Function fsline *** 405 !! 406 !! ** Purpose : 407 !! ** Method : 408 !!---------------------------------------------------------------------- 409 REAL(wp) :: fsline 410 REAL(wp), INTENT(in) :: psax, psay, psbx, psby, psx, psy 411 !!--------------------------------------------------------------------- 412 fsline = psy * ( psbx - psax ) & 413 & - psx * ( psby - psay ) & 414 & + psax * psby - psay * psbx 415 ! 416 END FUNCTION fsline 409 417 410 418 FUNCTION flo_dstnce( pla1, phi1, pla2, phi2 )
Note: See TracChangeset
for help on using the changeset viewer.