Skip to content

Commit d1bfb6d

Browse files
committed
format, spelling, and missing comments
1 parent e184f7b commit d1bfb6d

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

src/post_process/m_global_parameters.fpp

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,9 +522,17 @@ contains
522522
adv_idx%end = E_idx + num_fluids
523523

524524
if (igr) then
525-
adv_idx%beg = E_idx + 1
525+
! Volume fractions are stored in the indices immediately following
526+
! the energy equation. IGR tracks a total of (N-1) volume fractions
527+
! for N fluids, hence the "-1" in adv_idx%end. If num_fluids = 1
528+
! then adv_idx%end < adv_idx%beg, which skips all loops over the
529+
! volume fractions since there is no volume fraction to track
530+
adv_idx%beg = E_idx + 1 ! Alpha for fluid 1
526531
adv_idx%end = E_idx + num_fluids - 1
527532
else
533+
! Volume fractions are stored in the indices immediately following
534+
! the energy equation. WENO/MUSCL + Riemann tracks a total of (N)
535+
! volume fractions for N fluids, hence the lack of "-1" in adv_idx%end
528536
adv_idx%beg = E_idx + 1
529537
adv_idx%end = E_idx + num_fluids
530538
end if

src/pre_process/m_data_output.fpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module m_data_output
3939

4040
implicit none
4141

42-
private;
42+
private;
4343
public :: s_write_serial_data_files, &
4444
s_write_parallel_data_files, &
4545
s_write_data_files, &
@@ -615,8 +615,8 @@ contains
615615
end if
616616
call s_mpi_allreduce_sum(loc_violations, glb_violations)
617617
if (proc_rank == 0 .and. nint(glb_violations) > 0) then
618-
print*, "WARNING: Attempting to downsample data but there are" // &
619-
"processors with local problem sizes that are not divisible by 3."
618+
print *, "WARNING: Attempting to downsample data but there are"// &
619+
"processors with local problem sizes that are not divisible by 3."
620620
end if
621621
call s_populate_variables_buffers(bc_type, q_cons_vf)
622622
call s_downsample_data(q_cons_vf, q_cons_temp, &

src/pre_process/m_global_parameters.fpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,15 +612,15 @@ contains
612612
adv_idx%end = E_idx + num_fluids
613613

614614
if (igr) then
615-
! Volume fractions are stored in the indicies immediately following
615+
! Volume fractions are stored in the indices immediately following
616616
! the energy equation. IGR tracks a total of (N-1) volume fractions
617617
! for N fluids, hence the "-1" in adv_idx%end. If num_fluids = 1
618618
! then adv_idx%end < adv_idx%beg, which skips all loops over the
619619
! volume fractions since there is no volume fraction to track
620620
adv_idx%beg = E_idx + 1
621621
adv_idx%end = E_idx + num_fluids - 1
622622
else
623-
! Volume fractions are stored in the indicies immediately following
623+
! Volume fractions are stored in the indices immediately following
624624
! the energy equation. WENO/MUSCL + Riemann tracks a total of (N)
625625
! volume fractions for N fluids, hence the lack of "-1" in adv_idx%end
626626
adv_idx%beg = E_idx + 1

src/simulation/m_global_parameters.fpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -884,15 +884,15 @@ contains
884884
E_idx = mom_idx%end + 1
885885
886886
if (igr) then
887-
! Volume fractions are stored in the indicies immediately following
887+
! Volume fractions are stored in the indices immediately following
888888
! the energy equation. IGR tracks a total of (N-1) volume fractions
889889
! for N fluids, hence the "-1" in adv_idx%end. If num_fluids = 1
890890
! then adv_idx%end < adv_idx%beg, which skips all loops over the
891891
! volume fractions since there is no volume fraction to track
892892
adv_idx%beg = E_idx + 1 ! Alpha for fluid 1
893893
adv_idx%end = E_idx + num_fluids - 1
894894
else
895-
! Volume fractions are stored in the indicies immediately following
895+
! Volume fractions are stored in the indices immediately following
896896
! the energy equation. WENO/MUSCL + Riemann tracks a total of (N)
897897
! volume fractions for N fluids, hence the lack of "-1" in adv_idx%end
898898
adv_idx%beg = E_idx + 1

0 commit comments

Comments
 (0)