source: lmdz_wrf/trunk/WRFV3/share/module_io_domain_defs.m4 @ 2661

Last change on this file since 2661 was 1, checked in by lfita, 10 years ago
  • -- --- Opening of the WRF+LMDZ coupling repository --- -- -

WRF: version v3.3
LMDZ: version v1818

More details in:

File size: 2.3 KB
Line 
1! 1 input or output  (direction of io)
2! 2 aux or nothing
3! 3 _ or nothing
4! 4 input or output  (stream)
5! 5 number of stream or nothing
6
7define( DATASET_IO_ROUTINE,
8`  SUBROUTINE $1_$2$3$4 ( fid , grid , config_flags , ierr )
9    IMPLICIT NONE
10    TYPE(domain) :: grid
11    TYPE(grid_config_rec_type),  INTENT(IN   )    :: config_flags
12    INTEGER, INTENT(IN) :: fid
13    INTEGER, INTENT(INOUT) :: ierr
14    IF ( config_flags%io_form_$2$3$4 .GT. 0 ) THEN
15      CALL $1_wrf ( fid , grid , config_flags , $2$3$4_only , ierr )
16    ENDIF
17    RETURN
18  END SUBROUTINE $1_$2$3$4'
19)
20
21DATASET_IO_ROUTINE(output,,input,)
22DATASET_IO_ROUTINE(output,aux,input,1)
23DATASET_IO_ROUTINE(output,aux,input,2)
24DATASET_IO_ROUTINE(output,aux,input,3)
25DATASET_IO_ROUTINE(output,aux,input,4)
26DATASET_IO_ROUTINE(output,aux,input,5)
27DATASET_IO_ROUTINE(output,aux,input,6)
28DATASET_IO_ROUTINE(output,aux,input,7)
29DATASET_IO_ROUTINE(output,aux,input,8)
30DATASET_IO_ROUTINE(output,aux,input,9)
31DATASET_IO_ROUTINE(output,aux,input,10)
32DATASET_IO_ROUTINE(output,aux,input,11)
33DATASET_IO_ROUTINE(output,,history,)
34DATASET_IO_ROUTINE(output,aux,hist,1)
35DATASET_IO_ROUTINE(output,aux,hist,2)
36DATASET_IO_ROUTINE(output,aux,hist,3)
37DATASET_IO_ROUTINE(output,aux,hist,4)
38DATASET_IO_ROUTINE(output,aux,hist,5)
39DATASET_IO_ROUTINE(output,aux,hist,6)
40DATASET_IO_ROUTINE(output,aux,hist,7)
41DATASET_IO_ROUTINE(output,aux,hist,8)
42DATASET_IO_ROUTINE(output,aux,hist,9)
43DATASET_IO_ROUTINE(output,aux,hist,10)
44DATASET_IO_ROUTINE(output,aux,hist,11)
45
46DATASET_IO_ROUTINE(input,input,)
47DATASET_IO_ROUTINE(input,aux,input,1)
48DATASET_IO_ROUTINE(input,aux,input,2)
49DATASET_IO_ROUTINE(input,aux,input,3)
50DATASET_IO_ROUTINE(input,aux,input,4)
51DATASET_IO_ROUTINE(input,aux,input,5)
52DATASET_IO_ROUTINE(input,aux,input,6)
53DATASET_IO_ROUTINE(input,aux,input,7)
54DATASET_IO_ROUTINE(input,aux,input,8)
55DATASET_IO_ROUTINE(input,aux,input,9)
56DATASET_IO_ROUTINE(input,aux,input,10)
57DATASET_IO_ROUTINE(input,aux,input,11)
58DATASET_IO_ROUTINE(input,history,)
59DATASET_IO_ROUTINE(input,aux,hist,1)
60DATASET_IO_ROUTINE(input,aux,hist,2)
61DATASET_IO_ROUTINE(input,aux,hist,3)
62DATASET_IO_ROUTINE(input,aux,hist,4)
63DATASET_IO_ROUTINE(input,aux,hist,5)
64DATASET_IO_ROUTINE(input,aux,hist,6)
65DATASET_IO_ROUTINE(input,aux,hist,7)
66DATASET_IO_ROUTINE(input,aux,hist,8)
67DATASET_IO_ROUTINE(input,aux,hist,9)
68DATASET_IO_ROUTINE(input,aux,hist,10)
69DATASET_IO_ROUTINE(input,aux,hist,11)
Note: See TracBrowser for help on using the repository browser.