Skip to content

Commit 1985a4e

Browse files
author
Hyeoksu Lee
committed
remove n > 0
1 parent 1b108ff commit 1985a4e

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

src/post_process/m_start_up.f90

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -544,19 +544,17 @@ subroutine s_save_data(t_step, varname, pres, c, H)
544544
end if
545545

546546
! Adding the vorticity to the formatted database file
547-
if (n > 0) then
548-
do i = 1, 3
549-
if (omega_wrt(i)) then
547+
do i = 1, 3
548+
if (omega_wrt(i)) then
550549

551-
call s_derive_vorticity_component(i, q_prim_vf, q_sf)
550+
call s_derive_vorticity_component(i, q_prim_vf, q_sf)
552551

553-
write (varname, '(A,I0)') 'omega', i
554-
call s_write_variable_to_formatted_database_file(varname, t_step)
552+
write (varname, '(A,I0)') 'omega', i
553+
call s_write_variable_to_formatted_database_file(varname, t_step)
555554

556-
varname(:) = ' '
557-
end if
558-
end do
559-
end if
555+
varname(:) = ' '
556+
end if
557+
end do
560558

561559
if (ib) then
562560
q_sf = real(ib_markers%sf(-offset_x%beg:m + offset_x%end, -offset_y%beg:n + offset_y%end, -offset_z%beg:p + offset_z%end))

0 commit comments

Comments
 (0)