Changeset 2528 for trunk/NEMOGCM/NEMO/OPA_SRC/SBC/geo2ocean.F90
- Timestamp:
- 2010-12-27T18:33:53+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/OPA_SRC/SBC/geo2ocean.F90
- Property svn:eol-style deleted
r1833 r2528 27 27 ! they are only a useless overlay of rot_rep 28 28 29 PUBLIC obs_rot 30 29 31 REAL(wp), DIMENSION(jpi,jpj) :: & 30 32 gsint, gcost, & ! cos/sin between model grid lines and NP direction at T point … … 38 40 # include "vectopt_loop_substitute.h90" 39 41 !!---------------------------------------------------------------------- 40 !! NEMO/OPA 3. 0 , LOCEAN-IPSL (2008)42 !! NEMO/OPA 3.3 , NEMO Consortium (2010) 41 43 !! $Id$ 42 !! Software governed by the CeCILL licence ( modipsl/doc/NEMO_CeCILL.txt)44 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 43 45 !!---------------------------------------------------------------------- 44 46 … … 522 524 END SUBROUTINE repere 523 525 526 527 SUBROUTINE obs_rot ( psinu, pcosu, psinv, pcosv ) 528 !!---------------------------------------------------------------------- 529 !! *** ROUTINE obs_rot *** 530 !! 531 !! ** Purpose : Copy gsinu, gcosu, gsinv and gsinv 532 !! to input data for rotations of 533 !! current at observation points 534 !! 535 !! History : 536 !! 9.2 ! 09-02 (K. Mogensen) 537 !!---------------------------------------------------------------------- 538 REAL(wp), DIMENSION(jpi,jpj), INTENT( OUT ):: & 539 & psinu, pcosu, psinv, pcosv! copy of data 540 541 !!---------------------------------------------------------------------- 542 543 ! Initialization of gsin* and gcos* at first call 544 ! ----------------------------------------------- 545 546 IF( lmust_init ) THEN 547 IF(lwp) WRITE(numout,*) 548 IF(lwp) WRITE(numout,*) ' obs_rot : geographic <--> stretched' 549 IF(lwp) WRITE(numout,*) ' ~~~~~~~ coordinate transformation' 550 551 CALL angle ! initialization of the transformation 552 lmust_init = .FALSE. 553 554 ENDIF 555 556 psinu(:,:) = gsinu(:,:) 557 pcosu(:,:) = gcosu(:,:) 558 psinv(:,:) = gsinv(:,:) 559 pcosv(:,:) = gcosv(:,:) 560 561 END SUBROUTINE obs_rot 562 563 524 564 !!====================================================================== 525 565 END MODULE geo2ocean
Note: See TracChangeset
for help on using the changeset viewer.