@@ -180,8 +180,9 @@ module m_global_parameters
180180!#ifndef _CRAYFTN
181181!$acc declare create(relax, relax_model, palpha_eps,ptgalpha_eps)
182182!#endif
183-
183+
184184 integer :: num_bc_patches
185+ logical :: read_bc
185186 !> @name Boundary conditions (BC) in the x- , y- and z- directions, respectively
186187 !> @{
187188 type(int_bounds_info) :: bc_x, bc_y, bc_z
@@ -549,6 +550,7 @@ contains
549550 chem_params%gamma_method = 1
550551
551552 num_bc_patches = 0
553+ read_bc = .false.
552554
553555 bc_x%beg = dflt_int; bc_x%end = dflt_int
554556 bc_y%beg = dflt_int; bc_y%end = dflt_int
@@ -1171,12 +1173,12 @@ contains
11711173 @:ALLOCATE(x_cc(-buff_size:m + buff_size))
11721174 @:ALLOCATE(dx(-buff_size:m + buff_size))
11731175
1174- if (n == 0) return;
1176+ if (n == 0) return;
11751177 @:ALLOCATE(y_cb(-1 - buff_size:n + buff_size))
11761178 @:ALLOCATE(y_cc(-buff_size:n + buff_size))
11771179 @:ALLOCATE(dy(-buff_size:n + buff_size))
11781180
1179- if (p == 0) return;
1181+ if (p == 0) return;
11801182 @:ALLOCATE(z_cb(-1 - buff_size:p + buff_size))
11811183 @:ALLOCATE(z_cc(-buff_size:p + buff_size))
11821184 @:ALLOCATE(dz(-buff_size:p + buff_size))
@@ -1249,10 +1251,10 @@ contains
12491251 ! Deallocating grid variables for the x-, y- and z-directions
12501252 @:DEALLOCATE(x_cb, x_cc, dx)
12511253
1252- if (n == 0) return;
1254+ if (n == 0) return;
12531255 @:DEALLOCATE(y_cb, y_cc, dy)
12541256
1255- if (p == 0) return;
1257+ if (p == 0) return;
12561258 @:DEALLOCATE(z_cb, z_cc, dz)
12571259
12581260 end subroutine s_finalize_global_parameters_module
0 commit comments