Skip to content

Commit 55e62be

Browse files
authored
Write vel(2) to 2D probe files and drop the per-step print (#1844)
1 parent aa4e458 commit 55e62be

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/simulation/m_data_output.fpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1529,8 +1529,9 @@ contains
15291529
& vel(1), vel(2), pres, tau_e(1), tau_e(2), tau_e(3)
15301530
#:endif
15311531
else
1532-
write (i + 30, '(6X,F12.6,F24.8,F24.8,F24.8)') nondim_time, rho, vel(1), pres
1533-
print *, 'time =', nondim_time, 'rho =', rho, 'pres =', pres
1532+
#:if not MFC_CASE_OPTIMIZATION or num_dims > 1
1533+
write (i + 30, '(6X,F12.6,F24.8,F24.8,F24.8,F24.8)') nondim_time, rho, vel(1), vel(2), pres
1534+
#:endif
15341535
end if
15351536
else
15361537
#:if not MFC_CASE_OPTIMIZATION or num_dims > 2

0 commit comments

Comments
 (0)