@@ -103,27 +103,28 @@ module m_derived_types
103103 integer :: end
104104 end type idx_bounds_info
105105
106- !> Integer bounds for variables
106+ !> Integer beg / end bounds pair for loop index ranges and domain extents.
107107 type int_bounds_info
108- integer :: beg
109- integer :: end
110- real (wp) :: vb1
111- real (wp) :: vb2
112- real (wp) :: vb3
113- real (wp) :: ve1
114- real (wp) :: ve2
115- real (wp) :: ve3
108+ integer :: beg
109+ integer :: end
110+ end type int_bounds_info
111+
112+ !> Boundary condition parameters for one coordinate direction (beg/ end faces + face data ).
113+ type bc_dir_t
114+ integer :: beg, end
115+ real (wp) :: vb1, vb2, vb3
116+ real (wp) :: ve1, ve2, ve3
116117 real (wp) :: pres_in, pres_out
117118 real (wp), dimension (3 ) :: vel_in, vel_out
118119 real (wp), dimension (num_fluids_max) :: alpha_rho_in, alpha_in
119120 logical :: grcbc_in, grcbc_out, grcbc_vel_out
120121 logical :: isothermal_in, isothermal_out
121122 real (wp) :: Twall_in, Twall_out
122- end type int_bounds_info
123+ end type bc_dir_t
123124
124- !> Groups the x, y, z boundary condition begin / end codes for passing as a single argument.
125+ !> Groups the x, y, z boundary condition structs for passing as a single argument.
125126 type bc_xyz_info
126- type(int_bounds_info ) :: x, y, z
127+ type(bc_dir_t ) :: x, y, z
127128 end type bc_xyz_info
128129
129130 !> QBMM moment index mappings - separate from bub beg/ end so eqn_idx contains no allocatables.
@@ -137,7 +138,7 @@ module m_derived_types
137138 end type qbmm_idx_info
138139
139140 !> All conserved- variable equation indices, computed at startup from model_eqns and enabled features.
140- !> Range indices (beg/ end) use int_bounds_info ; scalar indices are plain integers (0 = inactive).
141+ !> Range indices (beg/ end) use idx_bounds_info ; scalar indices are plain integers (0 = inactive).
141142 !> Contains no allocatable members - safe for GPU_DECLARE as a single struct.
142143 type eqn_idx_info
143144 type(idx_bounds_info) :: cont !< Partial densities (continuity equations)
0 commit comments