Skip to content

Commit a47cb03

Browse files
author
Anand
committed
MIN MEM FIXES
1 parent 63c5fcf commit a47cb03

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/pre_process/m_global_parameters.fpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,9 @@ contains
923923
grid_geometry = 3
924924
end if
925925

926-
allocate (logic_grid(0:m, 0:n, 0:p))
926+
if(.not. igr) then
927+
allocate (logic_grid(0:m, 0:n, 0:p))
928+
end if
927929

928930
end subroutine s_initialize_global_parameters_module
929931

src/simulation/m_start_up.fpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,8 +1358,6 @@ contains
13581358
call s_read_data_files(q_cons_ts(1)%vf)
13591359
end if
13601360

1361-
call s_read_data_files(q_cons_ts(1)%vf)
1362-
13631361
if (model_eqns == 3) call s_initialize_internal_energy_equations(q_cons_ts(1)%vf)
13641362
if (ib) call s_ibm_setup()
13651363
if (bodyForces) call s_initialize_body_forces_module()

0 commit comments

Comments
 (0)