Skip to content

Commit e549426

Browse files
committed
format, spelling, and lint
1 parent c23a919 commit e549426

File tree

4 files changed

+14
-15
lines changed

4 files changed

+14
-15
lines changed

src/post_process/m_data_output.fpp

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,8 +1257,7 @@ contains
12571257
12581258
end subroutine s_write_lag_bubbles_results_to_text
12591259
1260-
1261-
impure subroutine s_write_lag_bubbles_to_formatted_database_file(t_step)
1260+
impure subroutine s_write_lag_bubbles_to_formatted_database_file(t_step)
12621261
12631262
integer, intent(in) :: t_step
12641263
@@ -1360,9 +1359,9 @@ contains
13601359
if (nBub > 0) then
13611360
13621361
#:for VAR in ['bub_id', 'px', 'py', 'pz', 'ppx', 'ppy', 'ppz', 'vx', 'vy', 'vz', &
1363-
'radius', 'rvel', 'rnot', 'rmax', 'rmin', 'dphidt', &
1364-
'pressure', 'mv', 'mg', 'betaT', 'betaC']
1365-
allocate(${VAR}$(nBub))
1362+
'radius', 'rvel', 'rnot', 'rmax', 'rmin', 'dphidt', &
1363+
'pressure', 'mv', 'mg', 'betaT', 'betaC']
1364+
allocate (${VAR}$ (nBub))
13661365
#:endfor
13671366
allocate (MPI_IO_DATA_lg_bubbles(nBub, 1:lag_io_vars))
13681367
@@ -1387,10 +1386,10 @@ contains
13871386
! Extract data from MPI_IO_DATA_lg_bubbles array
13881387
! Adjust these indices based on your actual data layout
13891388
#:for VAR, IDX in [('bub_id', 1), ('px', 2), ('py',3), ('pz',4), ('ppx',5), ('ppy',6), ('ppz',7), &
1390-
('vx',8), ('vy',9), ('vz',10), ('radius',11), ('rvel',12), &
1391-
('rnot',13), ('rmax',14), ('rmin',15), ('dphidt',16), &
1392-
('pressure',17), ('mv',18), ('mg',19), ('betaT',20), ('betaC',21)]
1393-
${VAR}$(:) = MPI_IO_DATA_lg_bubbles(:, ${IDX}$)
1389+
('vx',8), ('vy',9), ('vz',10), ('radius',11), ('rvel',12), &
1390+
('rnot',13), ('rmax',14), ('rmin',15), ('dphidt',16), &
1391+
('pressure',17), ('mv',18), ('mg',19), ('betaT',20), ('betaC',21)]
1392+
${VAR}$ (:) = MPI_IO_DATA_lg_bubbles(:, ${IDX}$)
13941393
#:endfor
13951394
13961395
! Next, the root processor proceeds to record all of the spatial

src/simulation/m_body_forces.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ contains
5959

6060
#:for DIR, XYZ in [(1, 'x'), (2, 'y'), (3, 'z')]
6161
if (bf_${XYZ}$) then
62-
accel_bf(${DIR}$) = g_${XYZ}$ + k_${XYZ}$*sin(w_${XYZ}$*t - p_${XYZ}$)
62+
accel_bf(${DIR}$) = g_${XYZ}$+k_${XYZ}$*sin(w_${XYZ}$*t - p_${XYZ}$)
6363
end if
6464
#:endfor
6565

src/simulation/m_bubbles_EL.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1402,7 +1402,7 @@ contains
14021402

14031403
end subroutine s_gradient_dir
14041404

1405-
!> Subroutine that writes on each time step the changes of the lagrangian bubbles.
1405+
!> Subroutine that writes on each time step the changes of the lagrangian bubbles.
14061406
!! @param q_time Current time
14071407
impure subroutine s_write_lag_particles(qtime)
14081408

src/simulation/m_data_output.fpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module m_data_output
3636

3737
implicit none
3838

39-
private;
39+
private;
4040
public :: s_initialize_data_output_module, &
4141
s_open_run_time_information_file, &
4242
s_open_com_files, &
@@ -161,11 +161,11 @@ contains
161161
trim('Time-step'), trim('dt'), trim('Time'), trim('ICFL Max')
162162

163163
if (viscous) then
164-
write(3, '(13X,A10,13X,A16)', advance="no") &
164+
write (3, '(13X,A10,13X,A16)', advance="no") &
165165
trim('VCFL Max'), trim('Rc Min')
166166
end if
167167

168-
write(3, *) ! new line
168+
write (3, *) ! new line
169169

170170
end subroutine s_open_run_time_information_file
171171

@@ -359,7 +359,7 @@ contains
359359
Rc_min_glb
360360
end if
361361

362-
write(3, *) ! new line
362+
write (3, *) ! new line
363363

364364
if (.not. f_approx_equal(icfl_max_glb, icfl_max_glb)) then
365365
call s_mpi_abort('ICFL is NaN. Exiting.')

0 commit comments

Comments
 (0)