Changeset 2878 for branches/2011/dev_r2802_MERCATOR10_diadct/NEMOGCM/TOOLS/SECTIONS_DIADCT/src/compute_sections.f90
- Timestamp:
- 2011-09-30T08:26:28+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2011/dev_r2802_MERCATOR10_diadct/NEMOGCM/TOOLS/SECTIONS_DIADCT/src/compute_sections.f90
r2877 r2878 2 2 !!===================================================================== 3 3 !! *** MODULE diadct *** 4 !! Ocean diagnostics: Compute the transport trough a sec .4 !! Ocean diagnostics: Compute the transport trough a section 5 5 !! 6 !! History: 2011: Clement Bricaud, Mercator-Ocean 6 7 !! 7 !! History: 2011: cbricaud Mercator-Ocean8 8 !!=============================================================== 9 9 !! * Modules used … … 301 301 DO ji=1,jpi 302 302 coord_t=COORD_SECTION(glamf(ji,jj),gphif(ji,jj)) 303 !cbr zdistFirst = distance(coord_t,coordFirst)304 303 zdistFirst = distance2(coord_t,coordFirst) 305 !cbr zdistLast = distance(coord_t,coordLast)306 304 zdistLast = distance2(coord_t,coordLast) 307 305 IF( zdistFirst .LT. zdistmesh .AND. zdistFirst .LT. zdistante )THEN … … 370 368 371 369 IF( sec%nb_point .ne. 0 )THEN 372 !IF( nb_inmesh .NE. 0 )THEN373 370 374 371 !The serie of mesh's points that form the section will 'link' … … 393 390 394 391 !initialize distnew value (with distance between section's extremities) 395 !cbr zdistnew = distance(coordFirst,coordLast,sec%ll_date_line)396 392 zdistnew = distance2(coordFirst,coordLast,sec%ll_date_line) 397 393 prevPoint = POINT_SECTION(0,0) … … 596 592 CALL write_debug(jsec,cltmp) 597 593 598 ! on passe à l'ancienne methode: le point parmies les 4 pts (NSWE) qui se rapproche599 ! le + du dernier pt600 !-----------------------------601 594 !be carreful! we can't go backward. 602 603 595 zdistNorth = zdistNorth2 ; zdistSouth = zdistSouth2 604 596 zdistEst = zdistEst2 ; zdistWest = zdistWest2
Note: See TracChangeset
for help on using the changeset viewer.