/[lmdze]/trunk/phylmd/Interface_surf/alboc_cd.f90
ViewVC logotype

Contents of /trunk/phylmd/Interface_surf/alboc_cd.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 328 - (show annotations)
Thu Jun 13 14:40:06 2019 UTC (4 years, 11 months ago) by guez
File size: 829 byte(s)
Change all `.f` suffixes to `.f90`. (The opposite was done in revision
82.)  Because of change of philosopy in GNUmakefile: we already had a
rewritten rule for `.f`, so it does not make the makefile longer to
replace it by a rule for `.f90`. And it spares us options of
makedepf90 and of the compiler. Also we prepare the way for a simpler
`CMakeLists.txt`.

1 module alboc_cd_m
2
3 IMPLICIT NONE
4
5 contains
6
7 pure function alboc_cd(mu0)
8
9 ! From LMDZ4/libf/phylmd/albedo.F, version 1.2, 2005/02/07 15:00:52
10
11 ! Author: Z. X. Li (LMD/CNRS)
12 ! Date: 1994/06/24
13
14 ! Calculer l'alb\'edo sur l'oc\'ean en fonction de l'angle
15 ! z\'enithal moyen. Formule due \`a Larson and Barkstrom,
16 ! Proceedings of the symposium on radiation in the atmosphere,
17 ! 19-28 August 1976, science Press, 1977, pages 451-453, ou
18 ! th\`ese de 3\`eme cycle de Sylvie Joussaume.
19
20 REAL, intent(in):: mu0(:) ! cosinus de l'angle solaire z\'enithal
21 real alboc_cd(size(mu0)) ! alb\'edo de surface de l'oc\'ean
22
23 !----------------------------------------------------------
24
25 alboc_cd = max(min(0.058 / (max(mu0, 0.) + 0.3), 0.6), 0.04)
26
27 END function alboc_cd
28
29 end module alboc_cd_m

  ViewVC Help
Powered by ViewVC 1.1.21