Skip to content

Commit

Permalink
golden file update + formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
anshgupta1234 committed Oct 28, 2024
1 parent 1ec589f commit 5e8f0fb
Show file tree
Hide file tree
Showing 23 changed files with 699 additions and 693 deletions.
29 changes: 14 additions & 15 deletions src/pre_process/m_data_output.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ module m_data_output
! IB markers
type(integer_field), &
intent(in) :: ib_markers

! Levelset
type(levelset_field), &
intent(IN) :: levelset

! Levelset Norm
type(levelset_norm_field), &
intent(IN) :: levelset_norm
Expand Down Expand Up @@ -98,9 +98,9 @@ contains
intent(in) :: ib_markers

! Levelset
type(levelset_field), &
intent(IN) :: levelset
type(levelset_field), &
intent(IN) :: levelset

! Levelset Norm
type(levelset_norm_field), &
intent(IN) :: levelset_norm
Expand Down Expand Up @@ -209,7 +209,6 @@ contains
write (1) levelset_norm%vf
close (1)


! Outputting Conservative Variables ================================
do i = 1, sys_size
write (file_num, '(I0)') i
Expand Down Expand Up @@ -488,10 +487,10 @@ contains
else
write (2, FMT) x_cc(j), y_cc(k), real(ib_markers%sf(j, k, l))
end if
end do
end do
end do
end do
end do

close (2)

do i = 1, num_ibs
Expand Down Expand Up @@ -536,9 +535,9 @@ contains
intent(in) :: ib_markers

! Levelset
type(levelset_field), &
intent(IN) :: levelset
type(levelset_field), &
intent(IN) :: levelset

! Levelset Norm
type(levelset_norm_field), &
intent(IN) :: levelset_norm
Expand Down Expand Up @@ -574,7 +573,7 @@ contains
! Initialize MPI data I/O
if (ib) then
call s_initialize_mpi_data(q_cons_vf, ib_markers, &
levelset, levelset_norm)
levelset, levelset_norm)
else
call s_initialize_mpi_data(q_cons_vf)
end if
Expand Down Expand Up @@ -639,7 +638,7 @@ contains
! Initialize MPI data I/O
if (ib) then
call s_initialize_mpi_data(q_cons_vf, ib_markers, &
levelset, levelset_norm)
levelset, levelset_norm)
else
call s_initialize_mpi_data(q_cons_vf)
end if
Expand Down Expand Up @@ -717,7 +716,7 @@ contains

! IB Markers
if (ib) then

write (file_loc, '(A)') 'ib.dat'
file_loc = trim(restart_dir)//trim(mpiiofs)//trim(file_loc)
inquire (FILE=trim(file_loc), EXIST=file_exist)
Expand Down
2 changes: 1 addition & 1 deletion src/pre_process/m_initial_condition.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ contains
! Spherical patch
if (patch_icpp(i)%geometry == 8) then
call s_sphere(i, patch_id_fp, q_prim_vf, .false.)

! Cuboidal patch
elseif (patch_icpp(i)%geometry == 9) then
call s_cuboid(i, patch_id_fp, q_prim_vf)
Expand Down
111 changes: 56 additions & 55 deletions tests/09E3930B/golden-metadata.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions tests/09E3930B/golden.txt

Large diffs are not rendered by default.

Loading

0 comments on commit 5e8f0fb

Please sign in to comment.