|
1 | 1 | module dyn_grid
|
2 | 2 | ! Module(s) from CAM-SIMA.
|
3 | 3 | use cam_grid_support, only: max_hcoordname_len
|
4 |
| - use cam_map_utils, only: kind_imap => imap |
5 |
| - use physics_column_type, only: kind_pcol |
6 |
| - ! Module(s) from CESM Share. |
7 |
| - use shr_kind_mod, only: kind_r8 => shr_kind_r8 |
8 |
| - ! Module(s) from MPAS. |
9 |
| - use dyn_mpas_subdriver, only: kind_dyn_mpas => mpas_dynamical_core_real_kind |
10 | 4 |
|
11 | 5 | implicit none
|
12 | 6 |
|
@@ -115,6 +109,10 @@ subroutine init_reference_pressure()
|
115 | 109 | use std_atm_profile, only: std_atm_pres
|
116 | 110 | use string_utils, only: stringify
|
117 | 111 | use vert_coord, only: pver, pverp
|
| 112 | + ! Module(s) from CESM Share. |
| 113 | + use shr_kind_mod, only: kind_r8 => shr_kind_r8 |
| 114 | + ! Module(s) from MPAS. |
| 115 | + use dyn_mpas_subdriver, only: kind_dyn_mpas => mpas_dynamical_core_real_kind |
118 | 116 |
|
119 | 117 | character(*), parameter :: subname = 'dyn_grid::init_reference_pressure'
|
120 | 118 | ! Number of pure pressure levels at model top.
|
@@ -221,10 +219,14 @@ subroutine init_physics_grid()
|
221 | 219 | use cam_abortutils, only: check_allocate
|
222 | 220 | use dyn_comp, only: mpas_dynamical_core, ncells_global, ncells_solve, sphere_radius
|
223 | 221 | use dynconst, only: constant_pi => pi, rad_to_deg
|
224 |
| - use physics_column_type, only: physics_column_t |
| 222 | + use physics_column_type, only: kind_pcol, physics_column_t |
225 | 223 | use physics_grid, only: phys_grid_init
|
226 | 224 | use spmd_utils, only: iam
|
227 | 225 | use string_utils, only: stringify
|
| 226 | + ! Module(s) from CESM Share. |
| 227 | + use shr_kind_mod, only: kind_r8 => shr_kind_r8 |
| 228 | + ! Module(s) from MPAS. |
| 229 | + use dyn_mpas_subdriver, only: kind_dyn_mpas => mpas_dynamical_core_real_kind |
228 | 230 |
|
229 | 231 | character(*), parameter :: subname = 'dyn_grid::init_physics_grid'
|
230 | 232 | character(max_hcoordname_len), allocatable :: dyn_attribute_name(:)
|
@@ -311,12 +313,17 @@ subroutine define_cam_grid()
|
311 | 313 | use cam_abortutils, only: check_allocate
|
312 | 314 | use cam_grid_support, only: cam_grid_attribute_register, cam_grid_register, &
|
313 | 315 | horiz_coord_create, horiz_coord_t
|
| 316 | + use cam_map_utils, only: kind_imap => imap |
314 | 317 | use dyn_comp, only: dyn_debug_print, mpas_dynamical_core, &
|
315 | 318 | ncells_global, nedges_global, nvertices_global, &
|
316 | 319 | ncells_solve, nedges_solve, nvertices_solve, &
|
317 | 320 | sphere_radius
|
318 | 321 | use dynconst, only: constant_pi => pi, rad_to_deg
|
319 | 322 | use string_utils, only: stringify
|
| 323 | + ! Module(s) from CESM Share. |
| 324 | + use shr_kind_mod, only: kind_r8 => shr_kind_r8 |
| 325 | + ! Module(s) from MPAS. |
| 326 | + use dyn_mpas_subdriver, only: kind_dyn_mpas => mpas_dynamical_core_real_kind |
320 | 327 |
|
321 | 328 | character(*), parameter :: subname = 'dyn_grid::define_cam_grid'
|
322 | 329 | integer :: i
|
|
0 commit comments