77! ! variables and fill out their buffer regions.
88module m_data_input
99
10- ! Dependencies =============================================================
1110#ifdef MFC_MPI
1211 use mpi ! < Message passing interface (MPI) module
1312#endif
@@ -21,7 +20,6 @@ module m_data_input
2120 use m_compile_specific
2221
2322 use m_helper
24- ! ==========================================================================
2523
2624 implicit none
2725
@@ -33,7 +31,7 @@ module m_data_input
3331 s_populate_conservative_variables_buffer_regions, &
3432 s_finalize_data_input_module
3533
36- abstract interface ! ===================================================
34+ abstract interface
3735
3836 ! > Subroutine for reading data files
3937 ! ! @param t_step Current time-step to input
@@ -43,7 +41,7 @@ subroutine s_read_abstract_data_files(t_step)
4341
4442 end subroutine s_read_abstract_data_files
4543
46- end interface ! ========================================================
44+ end interface
4745
4846 type (scalar_field), allocatable , dimension (:), public :: q_cons_vf ! <
4947 ! ! Conservative variables
@@ -125,7 +123,7 @@ subroutine s_read_serial_data_files(t_step)
125123 ' is missing. Exiting ...' )
126124 end if
127125
128- ! Reading the Grid Data File for the x-direction ===================
126+ ! Reading the Grid Data File for the x-direction
129127
130128 ! Checking whether x_cb.dat exists
131129 file_loc = trim (t_step_dir)// ' /x_cb.dat'
@@ -148,10 +146,7 @@ subroutine s_read_serial_data_files(t_step)
148146 ! Computing the cell-center locations
149147 x_cc(0 :m) = x_cb(- 1 :m - 1 ) + dx(0 :m)/ 2._wp
150148
151- ! ==================================================================
152-
153- ! Reading the Grid Data File for the y-direction ===================
154-
149+ ! Reading the Grid Data File for the y-direction
155150 if (n > 0 ) then
156151
157152 ! Checking whether y_cb.dat exists
@@ -175,10 +170,7 @@ subroutine s_read_serial_data_files(t_step)
175170 ! Computing the cell-center locations
176171 y_cc(0 :n) = y_cb(- 1 :n - 1 ) + dy(0 :n)/ 2._wp
177172
178- ! ==================================================================
179-
180- ! Reading the Grid Data File for the z-direction ===================
181-
173+ ! Reading the Grid Data File for the z-direction
182174 if (p > 0 ) then
183175
184176 ! Checking whether z_cb.dat exists
@@ -206,9 +198,7 @@ subroutine s_read_serial_data_files(t_step)
206198
207199 end if
208200
209- ! ==================================================================
210-
211- ! Reading the Conservative Variables Data Files ====================
201+ ! Reading the Conservative Variables Data Files
212202 do i = 1 , sys_size
213203
214204 ! Checking whether the data file associated with the variable
@@ -269,8 +259,6 @@ subroutine s_read_serial_data_files(t_step)
269259 end if
270260 end if
271261
272- ! ==================================================================
273-
274262 end subroutine s_read_serial_data_files
275263
276264 ! > This subroutine is called at each time-step that has to
@@ -570,7 +558,7 @@ subroutine s_populate_grid_variables_buffer_regions
570558
571559 integer :: i ! < Generic loop iterator
572560
573- ! Populating Buffer Regions in the x-direction =====================
561+ ! Populating Buffer Regions in the x-direction
574562
575563 ! Ghost-cell extrapolation BC at the beginning
576564 if (bc_x% beg <= - 3 ) then
@@ -644,9 +632,9 @@ subroutine s_populate_grid_variables_buffer_regions
644632 x_cc(m + i) = x_cc(m + (i - 1 )) + (dx(m + (i - 1 )) + dx(m + i))/ 2._wp
645633 end do
646634
647- ! END: Populating Buffer Regions in the x-direction ================
635+ ! END: Populating Buffer Regions in the x-direction
648636
649- ! Populating Buffer Regions in the y-direction =====================
637+ ! Populating Buffer Regions in the y-direction
650638
651639 if (n > 0 ) then
652640
@@ -722,9 +710,9 @@ subroutine s_populate_grid_variables_buffer_regions
722710 y_cc(n + i) = y_cc(n + (i - 1 )) + (dy(n + (i - 1 )) + dy(n + i))/ 2._wp
723711 end do
724712
725- ! END: Populating Buffer Regions in the y-direction ================
713+ ! END: Populating Buffer Regions in the y-direction
726714
727- ! Populating Buffer Regions in the z-direction =====================
715+ ! Populating Buffer Regions in the z-direction
728716
729717 if (p > 0 ) then
730718
@@ -804,7 +792,7 @@ subroutine s_populate_grid_variables_buffer_regions
804792
805793 end if
806794
807- ! END: Populating Buffer Regions in the z-direction ================
795+ ! END: Populating Buffer Regions in the z-direction
808796
809797 end subroutine s_populate_grid_variables_buffer_regions
810798
@@ -817,7 +805,7 @@ subroutine s_populate_conservative_variables_buffer_regions(q_particle)
817805
818806 integer :: i, j, k ! < Generic loop iterators
819807
820- ! Populating Buffer Regions in the x-direction =====================
808+ ! Populating Buffer Regions in the x-direction
821809
822810 ! Ghost-cell extrapolation BC at the beginning
823811 if (bc_x% beg <= - 3 ) then
@@ -962,9 +950,9 @@ subroutine s_populate_conservative_variables_buffer_regions(q_particle)
962950
963951 end if
964952
965- ! END: Populating Buffer Regions in the x-direction ================
953+ ! END: Populating Buffer Regions in the x-direction
966954
967- ! Populating Buffer Regions in the y-direction =====================
955+ ! Populating Buffer Regions in the y-direction
968956
969957 if (n > 0 ) then
970958
@@ -1158,9 +1146,9 @@ subroutine s_populate_conservative_variables_buffer_regions(q_particle)
11581146
11591147 end if
11601148
1161- ! END: Populating Buffer Regions in the y-direction ================
1149+ ! END: Populating Buffer Regions in the y-direction
11621150
1163- ! Populating Buffer Regions in the z-direction =====================
1151+ ! Populating Buffer Regions in the z-direction
11641152
11651153 if (p > 0 ) then
11661154
@@ -1308,7 +1296,7 @@ subroutine s_populate_conservative_variables_buffer_regions(q_particle)
13081296
13091297 end if
13101298
1311- ! END: Populating Buffer Regions in the z-direction ================
1299+ ! END: Populating Buffer Regions in the z-direction
13121300
13131301 end subroutine s_populate_conservative_variables_buffer_regions
13141302
0 commit comments