/[lmdze]/trunk/dyn3d/test_fxhyp.f90
ViewVC logotype

Contents of /trunk/dyn3d/test_fxhyp.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: 913 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 program test_fxhyp
2
3 use dynetat0_m, only: fxhyp, xprimm025, rlonv, xprimv, rlonu, xprimu, &
4 xprimp025
5 use dynetat0_chosen_m, only: read_serre
6 use unit_nml_m, only: unit_nml, set_unit_nml
7
8 implicit none
9
10 !--------------------------------------------------------
11
12 call set_unit_nml
13 open(unit_nml, file="used_namelists.txt", status="replace", action="write")
14 call read_serre
15 call fxhyp
16 close(unit_nml)
17
18 ! We can use the same unit number although we are not writing a namelist:
19 open(unit_nml, file="test_fxhyp_out.txt", status="replace", action="write")
20 write(unit_nml, fmt = *) "xprimm025 = ", xprimm025
21 write(unit_nml, fmt = *) "rlonv = ", rlonv
22 write(unit_nml, fmt = *) "xprimv = ", xprimv
23 write(unit_nml, fmt = *) "rlonu = ", rlonu
24 write(unit_nml, fmt = *) "xprimu = ", xprimu
25 write(unit_nml, fmt = *) "xprimp025 = ", xprimp025
26 close(unit_nml)
27
28 end program test_fxhyp

  ViewVC Help
Powered by ViewVC 1.1.21