Skip to content

Commit adc5219

Browse files
committed
Apply ffmt: strip comment-only continuation lines (& ! ...)
1 parent 83576b6 commit adc5219

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed

src/simulation/m_ibm.fpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,8 +1158,8 @@ contains
11581158
else ! we do not have an analytic moment of inertia calculation and need to approximate it directly via a sum
11591159
count = 0
11601160
moment = 0._wp
1161-
cell_volume = (x_cc(1) - x_cc(0))*(y_cc(1) - y_cc(0)) &
1162-
& ! computed without grid stretching. Update in the loop to perform with stretching
1161+
cell_volume = (x_cc(1) - x_cc(0))*(y_cc(1) - y_cc(0))
1162+
! computed without grid stretching. Update in the loop to perform with stretching
11631163
if (p /= 0) then
11641164
cell_volume = cell_volume*(z_cc(1) - z_cc(0))
11651165
end if

src/simulation/m_rhs.fpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1237,8 +1237,8 @@ contains
12371237
$:END_GPU_PARALLEL_LOOP()
12381238
end if
12391239
end if
1240-
case (2) &
1241-
& ! y-direction: loops q_idx (x), k_idx (y), l_idx (z); sf(q_idx, k_idx, l_idx); dy(k_idx); Kterm(q_idx,k_idx,l_idx)
1240+
case (2)
1241+
! y-direction: loops q_idx (x), k_idx (y), l_idx (z); sf(q_idx, k_idx, l_idx); dy(k_idx); Kterm(q_idx,k_idx,l_idx)
12421242
use_standard_riemann = (riemann_solver == 1 .or. riemann_solver == 4)
12431243
if (use_standard_riemann) then
12441244
$:GPU_PARALLEL_LOOP(collapse=4,private='[j_adv, k_idx, l_idx, q_idx, local_inv_ds, local_term_coeff, &
@@ -1313,8 +1313,8 @@ contains
13131313
$:END_GPU_PARALLEL_LOOP()
13141314
end if
13151315
end if
1316-
case (3) &
1317-
& ! z-direction: loops l_idx (x), q_idx (y), k_idx (z); sf(l_idx, q_idx, k_idx); dz(k_idx); Kterm(l_idx,q_idx,k_idx)
1316+
case (3)
1317+
! z-direction: loops l_idx (x), q_idx (y), k_idx (z); sf(l_idx, q_idx, k_idx); dz(k_idx); Kterm(l_idx,q_idx,k_idx)
13181318
if (grid_geometry == 3) then
13191319
use_standard_riemann = (riemann_solver == 1)
13201320
else

src/simulation/m_time_steppers.fpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -759,9 +759,8 @@ contains
759759
! update the angular velocity with the torque value
760760
patch_ib(i)%angular_vel = (patch_ib(i)%angular_vel*patch_ib(i)%moment) + (rk_coef(s, &
761761
& 3)*dt*patch_ib(i)%torque/rk_coef(s, 4)) ! add the torque to the angular momentum
762-
call s_compute_moment_of_inertia(i, &
763-
& patch_ib(i)%angular_vel) &
764-
& ! update the moment of inertia to be based on the direction of the angular momentum
762+
call s_compute_moment_of_inertia(i, patch_ib(i)%angular_vel)
763+
! update the moment of inertia to be based on the direction of the angular momentum
765764
patch_ib(i)%angular_vel = patch_ib(i)%angular_vel/patch_ib(i) &
766765
& %moment ! convert back to angular velocity with the new moment of inertia
767766
end if

src/simulation/m_weno.fpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,9 +1074,8 @@ contains
10741074
tau = abs(beta(2) - beta(0)) ! Equation 25
10751075
$:GPU_LOOP(parallelism='[seq]')
10761076
do q = 0, weno_num_stencils
1077-
alpha(q) = d_cbL_${XYZ}$ (q, &
1078-
& j)*(1._wp + (tau/beta(q))) &
1079-
& ! Equation 28 (note: weno_eps was already added to beta)
1077+
alpha(q) = d_cbL_${XYZ}$ (q, j)*(1._wp + (tau/beta(q)))
1078+
! Equation 28 (note: weno_eps was already added to beta)
10801079
end do
10811080
else if (teno) then
10821081
! Fu, et al. (2016) Fu''s code: https://dx.doi.org/10.13140/RG.2.2.36250.34247

0 commit comments

Comments
 (0)