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

Annotation of /trunk/dyn3d/test_fxhyp.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 265 - (hide annotations)
Tue Mar 20 09:35:59 2018 UTC (6 years, 2 months ago) by guez
File size: 951 byte(s)
Rename module dimens_m to dimensions.
1 guez 123 program test_fxhyp
2    
3 guez 265 USE dimensions, ONLY: iim
4 guez 123 use fxhyp_m, only: fxhyp
5     use jumble, only: new_unit
6 guez 139 use read_serre_m, only: read_serre
7 guez 123 use unit_nml_m, only: unit_nml
8    
9     implicit none
10    
11     REAL, dimension(iim + 1):: xprimm025, rlonv, xprimv, rlonu, xprimu, xprimp025
12     integer unit
13    
14     !--------------------------------------------------------
15    
16     call new_unit(unit_nml)
17     open(unit_nml, file="used_namelists.txt", status="replace", action="write")
18     call read_serre
19     call fxhyp(xprimm025, rlonv, xprimv, rlonu, xprimu, xprimp025)
20     close(unit_nml)
21    
22     unit = unit_nml
23     open(unit, file="test_fxhyp_out.txt", status="replace", action="write")
24     write(unit, fmt = *) "xprimm025 = ", xprimm025
25     write(unit, fmt = *) "rlonv = ", rlonv
26     write(unit, fmt = *) "xprimv = ", xprimv
27     write(unit, fmt = *) "rlonu = ", rlonu
28     write(unit, fmt = *) "xprimu = ", xprimu
29     write(unit, fmt = *) "xprimp025 = ", xprimp025
30     close(unit)
31    
32     end program test_fxhyp

  ViewVC Help
Powered by ViewVC 1.1.21