/[lmdze]/trunk/dyn3d/Inter_barxy/ord_coordm.f
ViewVC logotype

Contents of /trunk/dyn3d/Inter_barxy/ord_coordm.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 98 - (show annotations)
Tue May 13 17:23:16 2014 UTC (10 years, 1 month ago) by guez
File size: 709 byte(s)
Split inter_barxy.f : one procedure per module, one module per
file. Grouped the files into a directory.

Split orbite.f.

Value of raz_date read from the namelist is taken into account
(resetting the step counter) even if annee_ref == anneeref and day_ref
== dayref. raz_date is no longer modified by gcm main unit. (Following
LMDZ.)

Removed argument klon of interfsur_lim. Renamed arguments lmt_alb,
lmt_rug to alb_new, z0_new (same name as corresponding actual
arguments in interfsurf_hq).

Removed argument klon of interfsurf_hq.

Removed arguments qs and d_qs of diagetpq. Were always
zero. Downgraded arguments d_qw, d_ql of diagetpq to local variables,
they were not used in physiq. Removed all computations for solid water
in diagetpq, was just zero.


Downgraded arguments fs_bound, fq_bound of diagphy to local variables,
they were not used in physiq. Encapsulated in a test on iprt all
computations in diagphy.

Removed parameter nbtr of module dimphy. Replaced it everywhere in the
program by nqmx - 2.

Removed parameter rnpb of procedure physiq. Kept the true case in
physiq and phytrac. Could not work with false case anyway.

Removed arguments klon, llm, airephy of qcheck. Removed argument ftsol
of initrrnpb, was not used.

1 module ord_coordm_m
2
3 implicit none
4
5 contains
6
7
8 !***********************************
9
10 function ord_coordm(xi)
11
12 ! From dyn3d/ord_coordm.F, version 1.1.1.1 2004/05/19 12:53:06
13 ! Author : P. Le Van
14
15 ! This procedure converts to degrees, if necessary, and inverts the
16 ! order.
17
18 use nr_util, only: pi
19
20
21 REAL, intent(in):: xi(:) ! angle, in rad or degrees
22 REAL ord_coordm(size(xi)) ! angle, in degrees
23
24 !-----------------------------
25
26 IF (xi(1) < 6.5) THEN
27 ! "xi" is in rad
28 ord_coordm(:) = xi(size(xi):1:-1) * 180. / pi
29 else
30 ! "xi" is in degrees
31 ord_coordm(:) = xi(size(xi):1:-1)
32 ENDIF
33
34 END function ord_coordm
35
36 end module ord_coordm_m

  ViewVC Help
Powered by ViewVC 1.1.21