1 | MODULE phyparam_plugins_lmdz |
---|
2 | USE getparam |
---|
3 | IMPLICIT NONE |
---|
4 | PRIVATE |
---|
5 | SAVE |
---|
6 | |
---|
7 | PUBLIC :: read_paramr, read_parami, read_paramb |
---|
8 | |
---|
9 | #include "iniprint.h" |
---|
10 | |
---|
11 | CONTAINS |
---|
12 | |
---|
13 | SUBROUTINE read_paramr(name, defval, val, comment) |
---|
14 | CHARACTER(*), INTENT(IN) :: name, comment |
---|
15 | REAL, INTENT(IN) :: defval |
---|
16 | REAL, INTENT(OUT) :: val |
---|
17 | CALL getpar(name, defval, val, comment) |
---|
18 | WRITE(lunout, *) TRIM(name),'=',val |
---|
19 | END SUBROUTINE read_paramr |
---|
20 | |
---|
21 | SUBROUTINE read_parami(name, defval, val, comment) |
---|
22 | CHARACTER(*), INTENT(IN) :: name, comment |
---|
23 | INTEGER, INTENT(IN) :: defval |
---|
24 | INTEGER, INTENT(OUT) :: val |
---|
25 | CALL getpar(name, defval, val, comment) |
---|
26 | WRITE(lunout, *) TRIM(name),'=',val |
---|
27 | END SUBROUTINE read_parami |
---|
28 | |
---|
29 | SUBROUTINE read_paramb(name, defval, val, comment) |
---|
30 | CHARACTER(*), INTENT(IN) :: name, comment |
---|
31 | LOGICAL, INTENT(IN) :: defval |
---|
32 | LOGICAL, INTENT(OUT) :: val |
---|
33 | CALL getpar(name, defval, val, comment) |
---|
34 | WRITE(lunout, *) TRIM(name),'=',val |
---|
35 | END SUBROUTINE read_paramb |
---|
36 | |
---|
37 | END MODULE phyparam_plugins_lmdz |
---|