source: lmdz_wrf/branches/LMDZ_WRFmeas/WRFV3/share/start_domain.F.v3.6.1 @ 1577

Last change on this file since 1577 was 595, checked in by lfita, 9 years ago

ADding vcersion 3.6.1

File size: 1.7 KB
Line 
1!WRF:MEDIATION_LAYER:ADT_BARRIER
2!
3
4SUBROUTINE start_domain ( grid , allowed_to_read )
5
6   USE module_domain
7   USE module_configure
8
9   IMPLICIT NONE
10
11   !  Input Arguments.
12   TYPE (domain)          :: grid
13   LOGICAL, INTENT(IN)    :: allowed_to_read
14   !  Local data.
15   INTEGER :: idum1, idum2
16
17   INTERFACE
18#if ((EM_CORE == 1) && (DA_CORE != 1))
19#    include "start_domain_em.int"
20#endif
21#if (NMM_CORE == 1)
22#    include "start_domain_nmm.int"
23#endif
24#if (DA_CORE != 1)
25      SUBROUTINE calc_ts_locations( grid )
26         USE module_domain
27         TYPE (domain) :: grid
28      END SUBROUTINE calc_ts_locations
29
30#if WRFMEAS
31! L. Fita, LMD. May 2014
32      SUBROUTINE calc_lidar_locations( grid )
33         USE module_domain
34         TYPE (domain) :: grid
35      END SUBROUTINE calc_lidar_locations
36#endif
37
38      SUBROUTINE calc_track_locations( grid )
39         USE module_domain
40         TYPE (domain) :: grid
41      END SUBROUTINE calc_track_locations
42#endif
43   END INTERFACE
44
45   CALL set_scalar_indices_from_config ( head_grid%id , idum1, idum2 )
46
47#if ((EM_CORE == 1) && (DA_CORE != 1))
48   CALL start_domain_em( grid, allowed_to_read  &
49!
50# include <actual_new_args.inc>
51!
52                         )
53#endif
54#if (NMM_CORE == 1)
55   CALL start_domain_nmm( grid, allowed_to_read   &
56!
57# include <actual_new_args.inc>
58!
59                         )
60#endif
61#if (COAMPS_CORE == 1)
62   CALL start_domain_coamps( grid, allowed_to_read   &
63!
64# include <actual_new_args.inc>
65!
66                         )
67#endif
68
69#if (DA_CORE != 1)
70   CALL calc_ts_locations( grid )
71#if WRFMEAS
72! L. Fita, LMD. May 2014
73   CALL calc_lidar_locations( grid )
74#endif
75   CALL calc_track_locations( grid )
76#endif
77
78END SUBROUTINE start_domain
79
Note: See TracBrowser for help on using the repository browser.