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 15574 for NEMO/branches/2021/dev_r14318_RK3_stage1/src/OCE/FLO/flodom.F90 – NEMO

Ignore:
Timestamp:
2021-12-03T20:32:50+01:00 (3 years ago)
Author:
techene
Message:

#2605 #2715 trunk merged into dev_r14318_RK3_stage1

Location:
NEMO/branches/2021/dev_r14318_RK3_stage1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2021/dev_r14318_RK3_stage1

    • Property svn:externals
      •  

        old new  
        99 
        1010# SETTE 
        11 ^/utils/CI/sette@14244        sette 
         11^/utils/CI/sette@HEAD        sette 
         12 
  • NEMO/branches/2021/dev_r14318_RK3_stage1/src/OCE/FLO/flodom.F90

    r14229 r15574  
    3333   REAL(wp), ALLOCATABLE, DIMENSION(:) ::   zgifl, zgjfl,  zgkfl      ! distances in indexes 
    3434 
     35   !! * Substitutions 
     36#  include "domzgr_substitute.h90" 
    3537   !!---------------------------------------------------------------------- 
    3638   !! NEMO/OCE 4.0 , NEMO Consortium (2018) 
     
    369371      REAL(wp) ::   zabt, zbct, zcdt, zdat, zabpt, zbcpt, zcdpt, zdapt 
    370372      !!--------------------------------------------------------------------- 
    371       !! Statement function 
    372       REAL(wp) ::   fsline 
    373       REAL(wp) ::   psax, psay, psbx, psby, psx, psy 
    374       fsline( psax, psay, psbx, psby, psx, psy ) = psy  * ( psbx - psax )   & 
    375          &                                       - psx  * ( psby - psay )   & 
    376          &                                       + psax *   psby - psay * psbx 
    377       !!--------------------------------------------------------------------- 
    378373       
    379374      ! 4 semi plane defined by the 4 points and including the T point 
     
    410405   END SUBROUTINE flo_findmesh 
    411406 
    412  
     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  
    413423   FUNCTION flo_dstnce( pla1, phi1, pla2, phi2 ) 
    414424      !! ------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.