Skip to content

Commit f29d8b0

Browse files
committed
finalize cleanup
1 parent 0658519 commit f29d8b0

File tree

6 files changed

+10
-21
lines changed

6 files changed

+10
-21
lines changed

src/post_process/m_data_input.f90

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ subroutine s_read_parallel_data_files(t_step) ! ---------------------------
196196

197197
integer :: ifile, ierr, data_size
198198
integer, dimension(MPI_STATUS_SIZE) :: status
199-
real(kind(0d0)) :: start, finish
200199
integer(KIND=MPI_OFFSET_KIND) :: disp
201200
integer(KIND=MPI_OFFSET_KIND) :: m_MOK, n_MOK
202201
integer(KIND=MPI_OFFSET_KIND) :: WP_MOK, var_MOK, str_MOK
@@ -478,7 +477,7 @@ end subroutine s_populate_grid_variables_buffer_regions ! --------------
478477
!! the boundary conditions.
479478
subroutine s_populate_conservative_variables_buffer_regions() ! --------
480479

481-
integer :: i, j, k !< Generic loop iterators
480+
integer :: i, j
482481

483482
! Populating Buffer Regions in the x-direction =====================
484483

src/post_process/m_data_output.f90

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,8 +602,7 @@ subroutine s_write_variable_to_formatted_database_file(varname, t_step)
602602
integer, dimension(num_procs) :: vartypes
603603

604604
! Generic loop iterator
605-
integer :: i, j, k
606-
real(kind(0d0)) :: start, finish
605+
integer :: i
607606

608607
! Silo-HDF5 Database Format ========================================
609608

src/post_process/m_derived_variables.f90

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ subroutine s_derive_vorticity_component(i, q_prim_vf, q_sf) ! ----------
170170
-offset_y%beg:n + offset_y%end), &
171171
intent(INOUT) :: q_sf
172172

173-
integer :: j, k, l, r !< Generic loop iterators
173+
integer :: j, k, r !< Generic loop iterators
174174

175175
! Computing the vorticity component in the x-coordinate direction
176176
if (i == 1) then
@@ -230,18 +230,16 @@ subroutine s_derive_numerical_schlieren_function(q_cons_vf, rho_sf, q_sf)
230230
-offset_y%beg:n + offset_y%end), &
231231
intent(INOUT) :: q_sf
232232

233-
real(kind(0d0)) :: drho_dx, drho_dy, drho_dz !<
234-
!! Spatial derivatives of the density in the x-, y- and z-directions
233+
real(kind(0d0)) :: drho_dx, drho_dy !<
234+
!! Spatial derivatives of the density in the x- and y-directions
235235

236236
real(kind(0d0)), dimension(2) :: gm_rho_max !<
237237
!! Maximum value of the gradient magnitude (gm) of the density field
238238
!! in entire computational domain and not just the local sub-domain.
239239
!! The first position in the variable contains the maximum value and
240240
!! the second contains the rank of the processor on which it occured.
241241

242-
real(kind(0d0)) :: alpha_unadv !< Unadvected volume fraction
243-
244-
integer :: i, j, k, l !< Generic loop iterators
242+
integer :: i, j, k
245243

246244
! Computing Gradient Magnitude of Density ==========================
247245

src/post_process/m_global_parameters.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ end subroutine s_assign_default_values_to_user_inputs ! ----------------
244244
!! any other tasks needed to properly setup the module
245245
subroutine s_initialize_global_parameters_module() ! ----------------------
246246

247-
integer :: i, fac
247+
integer :: i
248248

249249
! Setting m_root equal to m in the case of a 1D serial simulation
250250
if (num_procs == 1 .and. n == 0) m_root = m

src/post_process/m_mpi_proxy.fpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module m_mpi_proxy
3939
4040
!> @name Generic flags used to identify and report MPI errors
4141
!> @{
42-
integer, private :: err_code, ierr
42+
integer, private :: ierr
4343
!> @}
4444
4545
contains
@@ -277,7 +277,7 @@ contains
277277
integer :: rem_cells
278278
279279
! Generic loop iterators
280-
integer :: i, j
280+
integer :: i
281281
282282
if (num_procs == 1 .and. parallel_io) then
283283
do i = 1, num_dims

src/post_process/p_main.f90

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,7 @@ program p_main
4343
!! Generic storage for the name(s) of the flow variable(s) that will be added
4444
!! to the formatted database file(s)
4545

46-
!> @name Generic loop iterator
47-
!> @{
48-
integer :: i, j, k
49-
!> @}
50-
51-
real(kind(0d0)) :: total_volume !<
52-
!! Variable for the total volume of the second volume fraction
53-
!! to later on track the evolution of the radius of a bubble over time
46+
integer :: i
5447

5548
! Initialization of the MPI environment
5649
call s_mpi_initialize()

0 commit comments

Comments
 (0)