@@ -483,6 +483,7 @@ subroutine init_atm_case_jw(mesh, nCells, nVertLevels, state, diag, configs)
483483 real (kind= RKIND), dimension (:), pointer :: xVertex, yVertex, zVertex
484484 real (kind= RKIND), dimension (:), pointer :: dcEdge, dvEdge, areaCell, areaTriangle
485485 real (kind= RKIND), dimension (:,:), pointer :: kiteAreasOnVertex
486+ real (kind= RKIND), pointer :: nominalMinDc
486487
487488 real (kind= RKIND), dimension (:), pointer :: latCell, latVertex, lonVertex, latEdge, lonEdge
488489 real (kind= RKIND), dimension (:), pointer :: fEdge, fVertex
@@ -517,6 +518,7 @@ subroutine init_atm_case_jw(mesh, nCells, nVertLevels, state, diag, configs)
517518 call mpas_pool_get_array(mesh, ' areaCell' , areaCell)
518519 call mpas_pool_get_array(mesh, ' areaTriangle' , areaTriangle)
519520 call mpas_pool_get_array(mesh, ' kiteAreasOnVertex' , kiteAreasOnVertex)
521+ call mpas_pool_get_array(mesh, ' nominalMinDc' , nominalMinDc)
520522 call mpas_pool_get_config(mesh, ' on_a_sphere' , on_a_sphere)
521523 call mpas_pool_get_config(mesh, ' sphere_radius' , sphere_radius)
522524
@@ -534,6 +536,7 @@ subroutine init_atm_case_jw(mesh, nCells, nVertLevels, state, diag, configs)
534536 areaCell(:) = areaCell(:) * sphere_radius** 2.0
535537 areaTriangle(:) = areaTriangle(:) * sphere_radius** 2.0
536538 kiteAreasOnVertex(:,:) = kiteAreasOnVertex(:,:) * sphere_radius** 2.0
539+ nominalMinDc = nominalMinDc * sphere_radius
537540
538541 call mpas_pool_get_array(mesh, ' weightsOnEdge' , weightsOnEdge)
539542 call mpas_pool_get_array(mesh, ' nEdgesOnEdge' , nEdgesOnEdge)
@@ -1403,6 +1406,7 @@ subroutine init_atm_case_squall_line(dminfo, mesh, nCells, nVertLevels, state, d
14031406 real (kind= RKIND), dimension (:), pointer :: xVertex, yVertex, zVertex
14041407 real (kind= RKIND), dimension (:), pointer :: dcEdge, dvEdge, areaCell, areaTriangle
14051408 real (kind= RKIND), dimension (:,:), pointer :: kiteAreasOnVertex
1409+ real (kind= RKIND), pointer :: nominalMinDc
14061410 logical , pointer :: on_a_sphere
14071411 real (kind= RKIND), pointer :: sphere_radius
14081412
@@ -1425,6 +1429,7 @@ subroutine init_atm_case_squall_line(dminfo, mesh, nCells, nVertLevels, state, d
14251429 call mpas_pool_get_array(mesh, ' areaCell' , areaCell)
14261430 call mpas_pool_get_array(mesh, ' areaTriangle' , areaTriangle)
14271431 call mpas_pool_get_array(mesh, ' kiteAreasOnVertex' , kiteAreasOnVertex)
1432+ call mpas_pool_get_array(mesh, ' nominalMinDc' , nominalMinDc)
14281433
14291434 call mpas_pool_get_config(mesh, ' on_a_sphere' , on_a_sphere)
14301435 call mpas_pool_get_config(mesh, ' sphere_radius' , sphere_radius)
@@ -1450,6 +1455,7 @@ subroutine init_atm_case_squall_line(dminfo, mesh, nCells, nVertLevels, state, d
14501455 areaCell(:) = areaCell(:) * a_scale** 2.0
14511456 areaTriangle(:) = areaTriangle(:) * a_scale** 2.0
14521457 kiteAreasOnVertex(:,:) = kiteAreasOnVertex(:,:) * a_scale** 2.0
1458+ nominalMinDc = nominalMinDc * a_scale
14531459
14541460 call mpas_pool_get_array(mesh, ' weightsOnEdge' , weightsOnEdge)
14551461 call mpas_pool_get_array(mesh, ' nEdgesOnEdge' , nEdgesOnEdge)
@@ -2005,6 +2011,7 @@ subroutine init_atm_case_mtn_wave(mesh, nCells, nVertLevels, state, diag, config
20052011 real (kind= RKIND), dimension (:), pointer :: xVertex, yVertex, zVertex
20062012 real (kind= RKIND), dimension (:), pointer :: dcEdge, dvEdge, areaCell, areaTriangle
20072013 real (kind= RKIND), dimension (:,:), pointer :: kiteAreasOnVertex
2014+ real (kind= RKIND), pointer :: nominalMinDc
20082015 logical , pointer :: on_a_sphere
20092016 real (kind= RKIND), pointer :: sphere_radius
20102017 real (kind= RKIND), pointer :: config_coef_3rd_order
@@ -2031,6 +2038,7 @@ subroutine init_atm_case_mtn_wave(mesh, nCells, nVertLevels, state, diag, config
20312038 call mpas_pool_get_array(mesh, ' areaCell' , areaCell)
20322039 call mpas_pool_get_array(mesh, ' areaTriangle' , areaTriangle)
20332040 call mpas_pool_get_array(mesh, ' kiteAreasOnVertex' , kiteAreasOnVertex)
2041+ call mpas_pool_get_array(mesh, ' nominalMinDc' , nominalMinDc)
20342042
20352043 call mpas_pool_get_config(mesh, ' on_a_sphere' , on_a_sphere)
20362044 call mpas_pool_get_config(mesh, ' sphere_radius' , sphere_radius)
@@ -2072,6 +2080,7 @@ subroutine init_atm_case_mtn_wave(mesh, nCells, nVertLevels, state, diag, config
20722080 areaCell(:) = areaCell(:) * a_scale** 2.0
20732081 areaTriangle(:) = areaTriangle(:) * a_scale** 2.0
20742082 kiteAreasOnVertex(:,:) = kiteAreasOnVertex(:,:) * a_scale** 2.0
2083+ nominalMinDc = nominalMinDc * a_scale
20752084
20762085
20772086 call mpas_pool_get_dimension(mesh, ' nEdges' , nEdges)
@@ -5857,6 +5866,7 @@ subroutine init_atm_case_cam_mpas(stream_manager, dminfo, block, mesh, &
58575866 real (kind= RKIND), dimension (:), pointer :: xVertex, yVertex, zVertex
58585867 real (kind= RKIND), dimension (:), pointer :: dcEdge, dvEdge, areaCell, areaTriangle
58595868 real (kind= RKIND), dimension (:,:), pointer :: kiteAreasOnVertex
5869+ real (kind= RKIND), pointer :: nominalMinDc
58605870
58615871 real (kind= RKIND), dimension (:), pointer :: fEdge, fVertex
58625872 real (kind= RKIND), dimension (:), pointer :: latEdge
@@ -5943,6 +5953,7 @@ subroutine init_atm_case_cam_mpas(stream_manager, dminfo, block, mesh, &
59435953 call mpas_pool_get_array(mesh, ' areaCell' , areaCell)
59445954 call mpas_pool_get_array(mesh, ' areaTriangle' , areaTriangle)
59455955 call mpas_pool_get_array(mesh, ' kiteAreasOnVertex' , kiteAreasOnVertex)
5956+ call mpas_pool_get_array(mesh, ' nominalMinDc' , nominalMinDc)
59465957 call mpas_pool_get_config(mesh, ' on_a_sphere' , on_a_sphere)
59475958 call mpas_pool_get_config(mesh, ' sphere_radius' , sphere_radius)
59485959
@@ -5960,6 +5971,7 @@ subroutine init_atm_case_cam_mpas(stream_manager, dminfo, block, mesh, &
59605971 areaCell(:) = areaCell(:) * sphere_radius** 2
59615972 areaTriangle(:) = areaTriangle(:) * sphere_radius** 2
59625973 kiteAreasOnVertex(:,:) = kiteAreasOnVertex(:,:) * sphere_radius** 2
5974+ nominalMinDc = nominalMinDc * sphere_radius
59635975
59645976
59655977 !
0 commit comments