Changeset 15235 for NEMO/trunk/src/OCE/FLO
- Timestamp:
- 2021-09-08T16:07:36+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/OCE/FLO/flodom.F90
r15062 r15235 371 371 REAL(wp) :: zabt, zbct, zcdt, zdat, zabpt, zbcpt, zcdpt, zdapt 372 372 !!--------------------------------------------------------------------- 373 !! Statement function374 REAL(wp) :: fsline375 REAL(wp) :: psax, psay, psbx, psby, psx, psy376 fsline( psax, psay, psbx, psby, psx, psy ) = psy * ( psbx - psax ) &377 & - psx * ( psby - psay ) &378 & + psax * psby - psay * psbx379 !!---------------------------------------------------------------------380 373 381 374 ! 4 semi plane defined by the 4 points and including the T point … … 412 405 END SUBROUTINE flo_findmesh 413 406 414 407 FUNCTION fsline( psax, psay, psbx, psby, psx, psy ) 408 !! --------------------------------------------------------------------- 409 !! *** Function fsline *** 410 !! 411 !! ** Purpose : 412 !! ** Method : 413 !!---------------------------------------------------------------------- 414 REAL(wp) :: fsline 415 REAL(wp), INTENT(in) :: psax, psay, psbx, psby, psx, psy 416 !!--------------------------------------------------------------------- 417 fsline = psy * ( psbx - psax ) & 418 & - psx * ( psby - psay ) & 419 & + psax * psby - psay * psbx 420 ! 421 END FUNCTION fsline 422 415 423 FUNCTION flo_dstnce( pla1, phi1, pla2, phi2 ) 416 424 !! -------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.