source: LMDZ6/branches/Amaury_dev/libf/dyn3d_common/fxy.f90 @ 5209

Last change on this file since 5209 was 5159, checked in by abarral, 3 months ago

Put dimensions.h and paramet.h into modules

  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
RevLine 
[1403]1! $Id: fxy.f90 5159 2024-08-02 19:58:25Z fairhead $
[5099]2
[5108]3SUBROUTINE fxy(rlatu, yprimu, rlatv, yprimv, rlatu1, yprimu1, &
4        rlatu2, yprimu2, &
5        rlonu, xprimu, rlonv, xprimv, rlonm025, xprimm025, rlonp025, xprimp025)
[524]6
[5122]7  USE lmdz_fxy_new, ONLY: fx, fxprim, fy, fyprim
[2598]8
[5159]9  USE lmdz_dimensions, ONLY: iim, jjm, llm, ndm
10  USE lmdz_paramet
[5105]11  IMPLICIT NONE
[524]12
[5105]13  ! Auteur  :  P. Le Van
[5159]14
[5105]15  ! Calcul  des longitudes et des latitudes  pour une fonction f(x,y)
16  !       a tangente sinusoidale et eventuellement avec zoom  .
[5159]17
[5105]18  !
[524]19
[5159]20
21
[5108]22  INTEGER :: i, j
[524]23
[5108]24  REAL :: rlatu(jjp1), yprimu(jjp1), rlatv(jjm), yprimv(jjm), &
25          rlatu1(jjm), yprimu1(jjm), rlatu2(jjm), yprimu2(jjm)
26  REAL :: rlonu(iip1), xprimu(iip1), rlonv(iip1), xprimv(iip1), &
27          rlonm025(iip1), xprimm025(iip1), rlonp025(iip1), xprimp025(iip1)
[524]28
[5105]29  !    ......  calcul  des  latitudes  et de y'   .....
[5159]30
[5108]31  DO j = 1, jjm + 1
32    rlatu(j) = fy    (REAL(j))
33    yprimu(j) = fyprim(REAL(j))
34  ENDDO
[524]35
[5108]36  DO j = 1, jjm
[524]37
[5108]38    rlatv(j) = fy    (REAL(j) + 0.5)
39    rlatu1(j) = fy    (REAL(j) + 0.25)
40    rlatu2(j) = fy    (REAL(j) + 0.75)
[524]41
[5108]42    yprimv(j) = fyprim(REAL(j) + 0.5)
43    yprimu1(j) = fyprim(REAL(j) + 0.25)
44    yprimu2(j) = fyprim(REAL(j) + 0.75)
[524]45
[5108]46  ENDDO
[524]47
[5159]48
[5105]49  ! .....  calcul   des  longitudes et de  x'   .....
[5159]50
[5108]51  DO i = 1, iim + 1
52    rlonv(i) = fx    (REAL(i))
53    rlonu(i) = fx    (REAL(i) + 0.5)
54    rlonm025(i) = fx    (REAL(i) - 0.25)
55    rlonp025(i) = fx    (REAL(i) + 0.25)
[524]56
[5108]57    xprimv  (i) = fxprim (REAL(i))
58    xprimu  (i) = fxprim (REAL(i) + 0.5)
59    xprimm025(i) = fxprim (REAL(i) - 0.25)
60    xprimp025(i) = fxprim (REAL(i) + 0.25)
61  ENDDO
[524]62
[5159]63
[5105]64END SUBROUTINE fxy
[524]65
Note: See TracBrowser for help on using the repository browser.