Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use pmd to check for DRY code #646

Open
sbryngelson opened this issue Oct 12, 2024 · 0 comments
Open

Use pmd to check for DRY code #646

sbryngelson opened this issue Oct 12, 2024 · 0 comments
Labels
continuous-integration Continuous integration (CI) enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@sbryngelson
Copy link
Member

sbryngelson commented Oct 12, 2024

We can improve code reuse and prevent it in the future via pmd. It is very easy to install and use locally, and it even has some GitHub actions that are ready to go online.

The output of the copy-paste detector is frankly quite striking!
./pmd cpd --minimum-tokens=10 -l fortran /Users/spencer/Downloads/mfc/src/simulation/* > ~/Downloads/dry-detector.txt gives 235 examples of copy/pastes - nondryness - that are 10 tokens or longer in the simulation code alone. (if I check the whole codebase I find 827 violations)

Found a 20 line (159 tokens) duplication in the following files:
Starting at line 87 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 182 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

        real(kind(0d0)) :: fltr_dtheta   !<
             !! Modified dtheta accounting for Fourier filtering in azimuthal direction.
        integer :: j, k, l
        integer :: Nfq
        real(kind(0d0)), dimension(2) :: Re_l

        if (grid_geometry == 3) then
            if (k == 0) then
                fltr_dtheta = 2d0*pi*y_cb(0)/3d0
            elseif (k <= fourier_rings) then
                Nfq = min(floor(2d0*real(k, kind(0d0))*pi), (p + 1)/2 + 1)
                fltr_dtheta = 2d0*pi*y_cb(k - 1)/real(Nfq, kind(0d0))
            else
                fltr_dtheta = y_cb(k - 1)*dz(l)
            end if
        end if

        if (p > 0) then
            !3D
            if (grid_geometry == 3) then

=====================================================================
Found a 7 line (148 tokens) duplication in the following files:
Starting at line 219 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 227 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                    q_sf(j, k, l) = q_sf(j, k, l) &
                                                    + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                    q_prim_vf0(mom_idx%beg)%sf(r + j, k, l) &
                                                    + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &
                                                    q_prim_vf0(mom_idx%beg)%sf(j, r + k, l) &
                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &
                                                    q_prim_vf0(mom_idx%beg)%sf(j, k, r + l)/y_cc(k)

=====================================================================
Found a 6 line (107 tokens) duplication in the following files:
Starting at line 211 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 218 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                            elseif (p == 0) then ! 2D simulation
                                q_sf(j, k, l) = q_sf(j, k, l) &
                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                q_prim_vf0(mom_idx%beg)%sf(r + j, k, l) &
                                                + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &
                                                q_prim_vf0(mom_idx%beg)%sf(j, r + k, l)

=====================================================================
Found a 5 line (105 tokens) duplication in the following files:
Starting at line 212 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 227 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                q_sf(j, k, l) = q_sf(j, k, l) &
                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                q_prim_vf0(mom_idx%beg)%sf(r + j, k, l) &
                                                + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &
                                                q_prim_vf0(mom_idx%beg)%sf(j, r + k, l)

=====================================================================
Found a 8 line (75 tokens) duplication in the following files:
Starting at line 111 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 206 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                icfl_sf(j, k, l) = dt/min(dx(j)/(abs(vel(1)) + c), &
                                          dy(k)/(abs(vel(2)) + c), &
                                          dz(l)/(abs(vel(3)) + c))
            end if

            if (any(Re_size > 0)) then

                if (grid_geometry == 3) then

=====================================================================
Found a 6 line (69 tokens) duplication in the following files:
Starting at line 216 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 258 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                q_prim_vf0(mom_idx%beg)%sf(j, r + k, l)
                            else ! 3D simulation
                                if (grid_geometry == 3) then
                                    q_sf(j, k, l) = q_sf(j, k, l) &
                                                    + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                    q_prim_vf0(mom_idx%beg)%sf(r + j, k, l) &

=====================================================================
Found a 4 line (65 tokens) duplication in the following files:
Starting at line 207 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 211 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                            if (n == 0) then ! 1D simulation
                                q_sf(j, k, l) = q_sf(j, k, l) &
                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                q_prim_vf0(mom_idx%beg)%sf(r + j, k, l)

=====================================================================
Found a 4 line (62 tokens) duplication in the following files:
Starting at line 207 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 218 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                            if (n == 0) then ! 1D simulation
                                q_sf(j, k, l) = q_sf(j, k, l) &
                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                q_prim_vf0(mom_idx%beg)%sf(r + j, k, l)

=====================================================================
Found a 3 line (60 tokens) duplication in the following files:
Starting at line 208 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 227 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                q_sf(j, k, l) = q_sf(j, k, l) &
                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                q_prim_vf0(mom_idx%beg)%sf(r + j, k, l)

=====================================================================
Found a 5 line (56 tokens) duplication in the following files:
Starting at line 81 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 177 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

    subroutine s_compute_stability_from_dt(vel, c, rho, Re_l, j, k, l, icfl_sf, vcfl_sf, Rc_sf)
        !$acc routine seq
        real(kind(0d0)), dimension(num_dims) :: vel
        real(kind(0d0)) :: c, icfl_dt, vcfl_dt, rho
        real(kind(0d0)), dimension(0:m, 0:n, 0:p) :: icfl_sf

=====================================================================
Found a 4 line (55 tokens) duplication in the following files:
Starting at line 211 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 253 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                            elseif (p == 0) then ! 2D simulation
                                q_sf(j, k, l) = q_sf(j, k, l) &
                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                q_prim_vf0(mom_idx%beg)%sf(r + j, k, l) &

=====================================================================
Found a 4 line (55 tokens) duplication in the following files:
Starting at line 218 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 295 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                if (grid_geometry == 3) then
                                    q_sf(j, k, l) = q_sf(j, k, l) &
                                                    + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                    q_prim_vf0(mom_idx%beg)%sf(r + j, k, l) &

=====================================================================
Found a 5 line (55 tokens) duplication in the following files:
Starting at line 225 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 268 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    q_prim_vf0(mom_idx%beg)%sf(j, k, r + l)/y_cc(k)
                                else
                                    q_sf(j, k, l) = q_sf(j, k, l) &
                                                    + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                    q_prim_vf0(mom_idx%beg)%sf(r + j, k, l) &

=====================================================================
Found a 4 line (55 tokens) duplication in the following files:
Starting at line 260 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 295 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                if (grid_geometry == 3) then
                                    q_sf(j, k, l) = q_sf(j, k, l) &
                                                    + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                    q_prim_vf0(mom_idx%beg + 1)%sf(r + j, k, l) &

=====================================================================
Found a 5 line (54 tokens) duplication in the following files:
Starting at line 225 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 304 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    q_prim_vf0(mom_idx%beg)%sf(j, k, r + l)/y_cc(k)
                                else
                                    q_sf(j, k, l) = q_sf(j, k, l) &
                                                    + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                    q_prim_vf0(mom_idx%beg)%sf(r + j, k, l) &

=====================================================================
Found a 4 line (53 tokens) duplication in the following files:
Starting at line 207 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 253 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                            if (n == 0) then ! 1D simulation
                                q_sf(j, k, l) = q_sf(j, k, l) &
                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                q_prim_vf0(mom_idx%beg)%sf(r + j, k, l)

=====================================================================
Found a 4 line (53 tokens) duplication in the following files:
Starting at line 107 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 202 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                icfl_sf(j, k, l) = dt/min(dx(j)/(abs(vel(1)) + c), &
                                          dy(k)/(abs(vel(2)) + c), &
                                          fltr_dtheta/(abs(vel(3)) + c))
            else

=====================================================================
Found a 4 line (51 tokens) duplication in the following files:
Starting at line 120 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 128 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                       /min(dx(j), dy(k), fltr_dtheta)**2d0

                    Rc_sf(j, k, l) = min(dx(j)*(abs(vel(1)) + c), &
                                         dy(k)*(abs(vel(2)) + c), &

=====================================================================
Found a 4 line (50 tokens) duplication in the following files:
Starting at line 207 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 253 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 260 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                            if (n == 0) then ! 1D simulation
                                q_sf(j, k, l) = q_sf(j, k, l) &
                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                q_prim_vf0(mom_idx%beg)%sf(r + j, k, l)

=====================================================================
Found a 4 line (50 tokens) duplication in the following files:
Starting at line 211 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 260 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                            elseif (p == 0) then ! 2D simulation
                                q_sf(j, k, l) = q_sf(j, k, l) &
                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                q_prim_vf0(mom_idx%beg)%sf(r + j, k, l) &

=====================================================================
Found a 4 line (50 tokens) duplication in the following files:
Starting at line 128 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 145 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                       /min(dx(j), dy(k), dz(l))**2d0

                    Rc_sf(j, k, l) = min(dx(j)*(abs(vel(1)) + c), &
                                         dy(k)*(abs(vel(2)) + c), &

=====================================================================
Found a 4 line (49 tokens) duplication in the following files:
Starting at line 207 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 295 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                            if (n == 0) then ! 1D simulation
                                q_sf(j, k, l) = q_sf(j, k, l) &
                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                q_prim_vf0(mom_idx%beg)%sf(r + j, k, l)

=====================================================================
Found a 4 line (49 tokens) duplication in the following files:
Starting at line 211 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 295 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                            elseif (p == 0) then ! 2D simulation
                                q_sf(j, k, l) = q_sf(j, k, l) &
                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                q_prim_vf0(mom_idx%beg)%sf(r + j, k, l) &

=====================================================================
Found a 3 line (49 tokens) duplication in the following files:
Starting at line 106 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 138 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

            if (grid_geometry == 3) then
                icfl_sf(j, k, l) = dt/min(dx(j)/(abs(vel(1)) + c), &
                                          dy(k)/(abs(vel(2)) + c), &

=====================================================================
Found a 2 line (49 tokens) duplication in the following files:
Starting at line 107 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 111 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                icfl_sf(j, k, l) = dt/min(dx(j)/(abs(vel(1)) + c), &
                                          dy(k)/(abs(vel(2)) + c), &

=====================================================================
Found a 4 line (49 tokens) duplication in the following files:
Starting at line 120 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 145 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                       /min(dx(j), dy(k), fltr_dtheta)**2d0

                    Rc_sf(j, k, l) = min(dx(j)*(abs(vel(1)) + c), &
                                         dy(k)*(abs(vel(2)) + c), &

=====================================================================
Found a 3 line (48 tokens) duplication in the following files:
Starting at line 208 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 254 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 261 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 270 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                q_sf(j, k, l) = q_sf(j, k, l) &
                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                q_prim_vf0(mom_idx%beg)%sf(r + j, k, l)

=====================================================================
Found a 3 line (48 tokens) duplication in the following files:
Starting at line 212 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 270 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                q_sf(j, k, l) = q_sf(j, k, l) &
                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                q_prim_vf0(mom_idx%beg)%sf(r + j, k, l) &

=====================================================================
Found a 3 line (48 tokens) duplication in the following files:
Starting at line 219 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 270 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                    q_sf(j, k, l) = q_sf(j, k, l) &
                                                    + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                    q_prim_vf0(mom_idx%beg)%sf(r + j, k, l) &

=====================================================================
Found a 3 line (47 tokens) duplication in the following files:
Starting at line 208 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 296 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 306 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                q_sf(j, k, l) = q_sf(j, k, l) &
                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                q_prim_vf0(mom_idx%beg)%sf(r + j, k, l)

=====================================================================
Found a 3 line (47 tokens) duplication in the following files:
Starting at line 212 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 306 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                q_sf(j, k, l) = q_sf(j, k, l) &
                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                q_prim_vf0(mom_idx%beg)%sf(r + j, k, l) &

=====================================================================
Found a 3 line (47 tokens) duplication in the following files:
Starting at line 219 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 306 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                    q_sf(j, k, l) = q_sf(j, k, l) &
                                                    + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                    q_prim_vf0(mom_idx%beg)%sf(r + j, k, l) &

=====================================================================
Found a 2 line (47 tokens) duplication in the following files:
Starting at line 111 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 140 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                icfl_sf(j, k, l) = dt/min(dx(j)/(abs(vel(1)) + c), &
                                          dy(k)/(abs(vel(2)) + c), &

=====================================================================
Found a 4 line (47 tokens) duplication in the following files:
Starting at line 140 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 223 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

            icfl_sf(j, k, l) = dt/min(dx(j)/(abs(vel(1)) + c), &
                                      dy(k)/(abs(vel(2)) + c))

            if (any(Re_size > 0)) then

=====================================================================
Found a 3 line (45 tokens) duplication in the following files:
Starting at line 214 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 256 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 263 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 272 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                q_prim_vf0(mom_idx%beg)%sf(r + j, k, l) &
                                                + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &
                                                q_prim_vf0(mom_idx%beg)%sf(j, r + k, l)

=====================================================================
Found a 3 line (45 tokens) duplication in the following files:
Starting at line 221 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 256 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 263 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 272 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    q_prim_vf0(mom_idx%beg)%sf(r + j, k, l) &
                                                    + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &
                                                    q_prim_vf0(mom_idx%beg)%sf(j, r + k, l) &

=====================================================================
Found a 3 line (45 tokens) duplication in the following files:
Starting at line 229 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 256 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 263 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 272 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    q_prim_vf0(mom_idx%beg)%sf(r + j, k, l) &
                                                    + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &
                                                    q_prim_vf0(mom_idx%beg)%sf(j, r + k, l) &

=====================================================================
Found a 3 line (44 tokens) duplication in the following files:
Starting at line 214 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 298 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 308 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                q_prim_vf0(mom_idx%beg)%sf(r + j, k, l) &
                                                + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &
                                                q_prim_vf0(mom_idx%beg)%sf(j, r + k, l)

=====================================================================
Found a 3 line (44 tokens) duplication in the following files:
Starting at line 221 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 298 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 308 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    q_prim_vf0(mom_idx%beg)%sf(r + j, k, l) &
                                                    + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &
                                                    q_prim_vf0(mom_idx%beg)%sf(j, r + k, l) &

=====================================================================
Found a 3 line (44 tokens) duplication in the following files:
Starting at line 229 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 298 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 308 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    q_prim_vf0(mom_idx%beg)%sf(r + j, k, l) &
                                                    + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &
                                                    q_prim_vf0(mom_idx%beg)%sf(j, r + k, l) &

=====================================================================
Found a 3 line (43 tokens) duplication in the following files:
Starting at line 223 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 265 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 274 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    q_prim_vf0(mom_idx%beg)%sf(j, r + k, l) &
                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &
                                                    q_prim_vf0(mom_idx%beg)%sf(j, k, r + l)/y_cc(k)

=====================================================================
Found a 3 line (43 tokens) duplication in the following files:
Starting at line 231 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 265 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 274 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    q_prim_vf0(mom_idx%beg)%sf(j, r + k, l) &
                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &
                                                    q_prim_vf0(mom_idx%beg)%sf(j, k, r + l)

=====================================================================
Found a 3 line (42 tokens) duplication in the following files:
Starting at line 223 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 300 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 310 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    q_prim_vf0(mom_idx%beg)%sf(j, r + k, l) &
                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &
                                                    q_prim_vf0(mom_idx%beg)%sf(j, k, r + l)/y_cc(k)

=====================================================================
Found a 3 line (42 tokens) duplication in the following files:
Starting at line 231 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 300 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 310 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    q_prim_vf0(mom_idx%beg)%sf(j, r + k, l) &
                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &
                                                    q_prim_vf0(mom_idx%beg)%sf(j, k, r + l)

=====================================================================
Found a 3 line (42 tokens) duplication in the following files:
Starting at line 201 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 221 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

            if (grid_geometry == 3) then
                icfl_dt = cfl_target*min(dx(j)/(abs(vel(1)) + c), &
                                         dy(k)/(abs(vel(2)) + c), &

=====================================================================
Found a 2 line (42 tokens) duplication in the following files:
Starting at line 202 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 206 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                icfl_dt = cfl_target*min(dx(j)/(abs(vel(1)) + c), &
                                         dy(k)/(abs(vel(2)) + c), &

=====================================================================
Found a 2 line (40 tokens) duplication in the following files:
Starting at line 206 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 223 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                icfl_dt = cfl_target*min(dx(j)/(abs(vel(1)) + c), &
                                         dy(k)/(abs(vel(2)) + c), &

=====================================================================
Found a 3 line (39 tokens) duplication in the following files:
Starting at line 150 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 154 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                        if (p > 0) then
                            accel_mag(i, j, k) = sqrt(x_accel(i, j, k)**2d0 + &
                                                      y_accel(i, j, k)**2d0 + &

=====================================================================
Found a 2 line (38 tokens) duplication in the following files:
Starting at line 107 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 206 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                icfl_sf(j, k, l) = dt/min(dx(j)/(abs(vel(1)) + c), &
                                          dy(k)/(abs(vel(2)) + c), &

=====================================================================
Found a 2 line (38 tokens) duplication in the following files:
Starting at line 111 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 202 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                icfl_sf(j, k, l) = dt/min(dx(j)/(abs(vel(1)) + c), &
                                          dy(k)/(abs(vel(2)) + c), &

=====================================================================
Found a 6 line (37 tokens) duplication in the following files:
Starting at line 196 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 242 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

        if (i == 1) then
            do l = 0, p
                do k = 0, n
                    do j = 0, m

                        q_sf(j, k, l) = (11d0*q_prim_vf0(mom_idx%beg)%sf(j, k, l) &

=====================================================================
Found a 2 line (36 tokens) duplication in the following files:
Starting at line 107 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 223 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                icfl_sf(j, k, l) = dt/min(dx(j)/(abs(vel(1)) + c), &
                                          dy(k)/(abs(vel(2)) + c), &

=====================================================================
Found a 2 line (36 tokens) duplication in the following files:
Starting at line 111 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 223 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                icfl_sf(j, k, l) = dt/min(dx(j)/(abs(vel(1)) + c), &
                                          dy(k)/(abs(vel(2)) + c), &

=====================================================================
Found a 2 line (36 tokens) duplication in the following files:
Starting at line 140 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 202 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 206 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

            icfl_sf(j, k, l) = dt/min(dx(j)/(abs(vel(1)) + c), &
                                      dy(k)/(abs(vel(2)) + c))

=====================================================================
Found a 5 line (34 tokens) duplication in the following files:
Starting at line 197 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 286 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

            do l = 0, p
                do k = 0, n
                    do j = 0, m

                        q_sf(j, k, l) = (11d0*q_prim_vf0(mom_idx%beg)%sf(j, k, l) &

=====================================================================
Found a 5 line (34 tokens) duplication in the following files:
Starting at line 243 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 286 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

            do l = 0, p
                do k = 0, n
                    do j = 0, m

                        q_sf(j, k, l) = (11d0*q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l) &

=====================================================================
Found a 4 line (33 tokens) duplication in the following files:
Starting at line 125 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 132 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 140 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

            call s_derive_acceleration_component(1, q_prim_ts(0)%vf, &
                                                 q_prim_ts(1)%vf, &
                                                 q_prim_ts(2)%vf, &
                                                 q_prim_ts(3)%vf, &

=====================================================================
Found a 2 line (31 tokens) duplication in the following files:
Starting at line 119 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 127 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                    vcfl_sf(j, k, l) = maxval(dt/Re_l/rho) &
                                       /min(dx(j), dy(k), fltr_dtheta)**2d0

=====================================================================
Found a 5 line (29 tokens) duplication in the following files:
Starting at line 141 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 155 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                      dy(k)/(abs(vel(2)) + c))

            if (any(Re_size > 0)) then

                vcfl_sf(j, k, l) = maxval(dt/Re_l/rho)/min(dx(j), dy(k))**2d0

=====================================================================
Found a 4 line (26 tokens) duplication in the following files:
Starting at line 204 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 250 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 292 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                         - 2d0*q_prim_vf3(mom_idx%beg)%sf(j, k, l))/(6d0*dt)

                        do r = -fd_number, fd_number
                            if (n == 0) then ! 1D simulation

=====================================================================
Found a 7 line (24 tokens) duplication in the following files:
Starting at line 233 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 276 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    q_prim_vf0(mom_idx%beg)%sf(j, k, r + l)
                                end if
                            end if
                        end do
                    end do
                end do
            end do

=====================================================================
Found a 1 line (23 tokens) duplication in the following files:
Starting at line 191 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 86 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

        real(kind(0d0)), dimension(0:m, 0:n, 0:p), intent(out) :: q_sf

=====================================================================
Found a 1 line (22 tokens) duplication in the following files:
Starting at line 191 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 85 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 181 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

        real(kind(0d0)), dimension(0:m, 0:n, 0:p), intent(out) :: q_sf

=====================================================================
Found a 1 line (21 tokens) duplication in the following files:
Starting at line 49 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 51 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

            call s_convert_species_to_mixture_variables_bubbles_acc(rho, gamma, pi_inf, qv, alpha, alpha_rho, Re, j, k, l)

=====================================================================
Found a 2 line (21 tokens) duplication in the following files:
Starting at line 124 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 132 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                         fltr_dtheta*(abs(vel(3)) + c)) &
                                     /maxval(1d0/Re_l)

=====================================================================
Found a 4 line (21 tokens) duplication in the following files:
Starting at line 224 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                     dy(k)/(abs(vel(2)) + c))

            if (any(Re_size > 0)) then
                vcfl_dt = cfl_target*(min(dx(j), dy(k))**2d0)/maxval((1/Re_l)/rho)

=====================================================================
Found a 1 line (20 tokens) duplication in the following files:
Starting at line 42 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 43 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 44 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

    real(kind(0d0)), public, allocatable, dimension(:, :) :: fd_coeff_x

=====================================================================
Found a 2 line (20 tokens) duplication in the following files:
Starting at line 266 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 303 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &
                                                    q_prim_vf0(mom_idx%beg + 1)%sf(j, k, r + l)/y_cc(k) &

=====================================================================
Found a 2 line (20 tokens) duplication in the following files:
Starting at line 275 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 303 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &
                                                    q_prim_vf0(mom_idx%beg + 1)%sf(j, k, r + l)

=====================================================================
Found a 1 line (20 tokens) duplication in the following files:
Starting at line 128 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 216 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                       /min(dx(j), dy(k), dz(l))**2d0

=====================================================================
Found a 2 line (19 tokens) duplication in the following files:
Starting at line 201 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 247 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                        q_sf(j, k, l) = (11d0*q_prim_vf0(mom_idx%beg)%sf(j, k, l) &
                                         - 18d0*q_prim_vf1(mom_idx%beg)%sf(j, k, l) &

=====================================================================
Found a 2 line (19 tokens) duplication in the following files:
Starting at line 202 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 248 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                         - 18d0*q_prim_vf1(mom_idx%beg)%sf(j, k, l) &
                                         + 9d0*q_prim_vf2(mom_idx%beg)%sf(j, k, l) &

=====================================================================
Found a 2 line (19 tokens) duplication in the following files:
Starting at line 203 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 249 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                         + 9d0*q_prim_vf2(mom_idx%beg)%sf(j, k, l) &
                                         - 2d0*q_prim_vf3(mom_idx%beg)%sf(j, k, l))/(6d0*dt)

=====================================================================
Found a 2 line (19 tokens) duplication in the following files:
Starting at line 118 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 143 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 157 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                if (grid_geometry == 3) then
                    vcfl_sf(j, k, l) = maxval(dt/Re_l/rho) &

=====================================================================
Found a 2 line (18 tokens) duplication in the following files:
Starting at line 201 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 289 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                        q_sf(j, k, l) = (11d0*q_prim_vf0(mom_idx%beg)%sf(j, k, l) &
                                         - 18d0*q_prim_vf1(mom_idx%beg)%sf(j, k, l) &

=====================================================================
Found a 2 line (18 tokens) duplication in the following files:
Starting at line 202 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 290 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                         - 18d0*q_prim_vf1(mom_idx%beg)%sf(j, k, l) &
                                         + 9d0*q_prim_vf2(mom_idx%beg)%sf(j, k, l) &

=====================================================================
Found a 2 line (18 tokens) duplication in the following files:
Starting at line 203 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 291 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                         + 9d0*q_prim_vf2(mom_idx%beg)%sf(j, k, l) &
                                         - 2d0*q_prim_vf3(mom_idx%beg)%sf(j, k, l))/(6d0*dt)

=====================================================================
Found a 2 line (18 tokens) duplication in the following files:
Starting at line 247 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 249 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                        q_sf(j, k, l) = (11d0*q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l) &
                                         - 18d0*q_prim_vf1(mom_idx%beg + 1)%sf(j, k, l) &

=====================================================================
Found a 2 line (18 tokens) duplication in the following files:
Starting at line 212 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 226 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                if (grid_geometry == 3) then
                    vcfl_dt = cfl_target*(min(dx(j), dy(k), fltr_dtheta)**2d0) &

=====================================================================
Found a 1 line (17 tokens) duplication in the following files:
Starting at line 42 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 49 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 50 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

    real(kind(0d0)), public, allocatable, dimension(:, :) :: fd_coeff_x

=====================================================================
Found a 1 line (17 tokens) duplication in the following files:
Starting at line 215 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 247 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 257 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 264 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 273 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 299 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 304 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 309 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &

=====================================================================
Found a 1 line (17 tokens) duplication in the following files:
Starting at line 222 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 247 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 304 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &

=====================================================================
Found a 1 line (17 tokens) duplication in the following files:
Starting at line 225 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 267 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 302 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    q_prim_vf0(mom_idx%beg)%sf(j, k, r + l)/y_cc(k)

=====================================================================
Found a 1 line (17 tokens) duplication in the following files:
Starting at line 230 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 247 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 304 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &

=====================================================================
Found a 1 line (17 tokens) duplication in the following files:
Starting at line 247 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 248 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                        q_sf(j, k, l) = (11d0*q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l) &

=====================================================================
Found a 1 line (17 tokens) duplication in the following files:
Starting at line 268 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 303 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    - (q_prim_vf0(mom_idx%end)%sf(j, k, l)**2d0)/y_cc(k)

=====================================================================
Found a 1 line (17 tokens) duplication in the following files:
Starting at line 107 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                icfl_sf(j, k, l) = dt/min(dx(j)/(abs(vel(1)) + c), &

=====================================================================
Found a 2 line (17 tokens) duplication in the following files:
Starting at line 107 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 122 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 130 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 140 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 147 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 202 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 206 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 223 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                icfl_sf(j, k, l) = dt/min(dx(j)/(abs(vel(1)) + c), &
                                          dy(k)/(abs(vel(2)) + c), &

=====================================================================
Found a 1 line (17 tokens) duplication in the following files:
Starting at line 111 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                icfl_sf(j, k, l) = dt/min(dx(j)/(abs(vel(1)) + c), &

=====================================================================
Found a 2 line (17 tokens) duplication in the following files:
Starting at line 111 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 122 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 130 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 147 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                icfl_sf(j, k, l) = dt/min(dx(j)/(abs(vel(1)) + c), &
                                          dy(k)/(abs(vel(2)) + c), &

=====================================================================
Found a 2 line (17 tokens) duplication in the following files:
Starting at line 112 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 131 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                          dy(k)/(abs(vel(2)) + c), &
                                          dz(l)/(abs(vel(3)) + c))

=====================================================================
Found a 1 line (17 tokens) duplication in the following files:
Starting at line 120 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 213 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                       /min(dx(j), dy(k), fltr_dtheta)**2d0

=====================================================================
Found a 1 line (17 tokens) duplication in the following files:
Starting at line 127 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 145 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 159 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                    vcfl_sf(j, k, l) = maxval(dt/Re_l/rho) &

=====================================================================
Found a 1 line (17 tokens) duplication in the following files:
Starting at line 140 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

            icfl_sf(j, k, l) = dt/min(dx(j)/(abs(vel(1)) + c), &

=====================================================================
Found a 1 line (17 tokens) duplication in the following files:
Starting at line 202 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                icfl_dt = cfl_target*min(dx(j)/(abs(vel(1)) + c), &

=====================================================================
Found a 1 line (17 tokens) duplication in the following files:
Starting at line 206 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                icfl_dt = cfl_target*min(dx(j)/(abs(vel(1)) + c), &

=====================================================================
Found a 1 line (17 tokens) duplication in the following files:
Starting at line 213 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 216 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                    vcfl_dt = cfl_target*(min(dx(j), dy(k), fltr_dtheta)**2d0) &

=====================================================================
Found a 2 line (17 tokens) duplication in the following files:
Starting at line 213 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 216 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                    vcfl_dt = cfl_target*(min(dx(j), dy(k), fltr_dtheta)**2d0) &
                              /minval(1/(rho*Re_l))

=====================================================================
Found a 1 line (17 tokens) duplication in the following files:
Starting at line 223 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

            icfl_dt = cfl_target*min(dx(j)/(abs(vel(1)) + c), &

=====================================================================
Found a 1 line (16 tokens) duplication in the following files:
Starting at line 186 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 187 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 188 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 189 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

        type(scalar_field), dimension(sys_size), intent(in) :: q_prim_vf0

=====================================================================
Found a 2 line (16 tokens) duplication in the following files:
Starting at line 201 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 203 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                        q_sf(j, k, l) = (11d0*q_prim_vf0(mom_idx%beg)%sf(j, k, l) &
                                         - 18d0*q_prim_vf1(mom_idx%beg)%sf(j, k, l) &

=====================================================================
Found a 1 line (16 tokens) duplication in the following files:
Starting at line 215 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 248 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 249 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 250 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 257 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 264 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 273 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 299 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 304 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 309 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &

=====================================================================
Found a 1 line (16 tokens) duplication in the following files:
Starting at line 222 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 248 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 249 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 250 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &

=====================================================================
Found a 1 line (16 tokens) duplication in the following files:
Starting at line 224 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 268 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 275 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 301 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 303 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 311 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &

=====================================================================
Found a 1 line (16 tokens) duplication in the following files:
Starting at line 230 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 248 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 249 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 250 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &

=====================================================================
Found a 1 line (16 tokens) duplication in the following files:
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 268 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 303 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &

=====================================================================
Found a 1 line (16 tokens) duplication in the following files:
Starting at line 247 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 250 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                        q_sf(j, k, l) = (11d0*q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l) &

=====================================================================
Found a 1 line (16 tokens) duplication in the following files:
Starting at line 266 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 268 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 303 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &

=====================================================================
Found a 2 line (16 tokens) duplication in the following files:
Starting at line 289 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 291 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                        q_sf(j, k, l) = (11d0*q_prim_vf0(mom_idx%end)%sf(j, k, l) &
                                         - 18d0*q_prim_vf1(mom_idx%end)%sf(j, k, l) &

=====================================================================
Found a 1 line (16 tokens) duplication in the following files:
Starting at line 122 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 161 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                    Rc_sf(j, k, l) = min(dx(j)*(abs(vel(1)) + c), &

=====================================================================
Found a 1 line (16 tokens) duplication in the following files:
Starting at line 130 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 161 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                    Rc_sf(j, k, l) = min(dx(j)*(abs(vel(1)) + c), &

=====================================================================
Found a 3 line (16 tokens) duplication in the following files:
Starting at line 132 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 148 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                         dz(l)*(abs(vel(3)) + c)) &
                                     /maxval(1d0/Re_l)
                end if

=====================================================================
Found a 3 line (16 tokens) duplication in the following files:
Starting at line 141 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                      dy(k)/(abs(vel(2)) + c))

            if (any(Re_size > 0)) then

=====================================================================
Found a 1 line (16 tokens) duplication in the following files:
Starting at line 147 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 161 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                Rc_sf(j, k, l) = min(dx(j)*(abs(vel(1)) + c), &

=====================================================================
Found a 1 line (16 tokens) duplication in the following files:
Starting at line 216 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 227 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                    vcfl_dt = cfl_target*(min(dx(j), dy(k), dz(l))**2d0) &

=====================================================================
Found a 1 line (15 tokens) duplication in the following files:
Starting at line 201 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 209 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 213 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 220 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 228 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 255 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 262 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 271 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 297 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 307 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                        q_sf(j, k, l) = (11d0*q_prim_vf0(mom_idx%beg)%sf(j, k, l) &

=====================================================================
Found a 1 line (15 tokens) duplication in the following files:
Starting at line 201 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 202 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 203 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                        q_sf(j, k, l) = (11d0*q_prim_vf0(mom_idx%beg)%sf(j, k, l) &

=====================================================================
Found a 1 line (15 tokens) duplication in the following files:
Starting at line 215 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 267 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 273 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 276 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 299 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 309 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &

=====================================================================
Found a 1 line (15 tokens) duplication in the following files:
Starting at line 222 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 267 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 276 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &

=====================================================================
Found a 1 line (15 tokens) duplication in the following files:
Starting at line 224 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 289 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 301 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 303 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 311 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &

=====================================================================
Found a 1 line (15 tokens) duplication in the following files:
Starting at line 230 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 267 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 276 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &

=====================================================================
Found a 1 line (15 tokens) duplication in the following files:
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 289 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &

=====================================================================
Found a 3 line (15 tokens) duplication in the following files:
Starting at line 233 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 312 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    q_prim_vf0(mom_idx%beg)%sf(j, k, r + l)
                                end if
                            end if

=====================================================================
Found a 1 line (15 tokens) duplication in the following files:
Starting at line 266 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 289 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &

=====================================================================
Found a 1 line (15 tokens) duplication in the following files:
Starting at line 289 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 290 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                        q_sf(j, k, l) = (11d0*q_prim_vf0(mom_idx%end)%sf(j, k, l) &

=====================================================================
Found a 1 line (15 tokens) duplication in the following files:
Starting at line 145 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 227 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                vcfl_sf(j, k, l) = maxval(dt/Re_l/rho)/min(dx(j), dy(k))**2d0

=====================================================================
Found a 3 line (15 tokens) duplication in the following files:
Starting at line 217 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 235 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                              /minval(1/(rho*Re_l))
                end if
            end if

=====================================================================
Found a 1 line (14 tokens) duplication in the following files:
Starting at line 77 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 78 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 80 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 82 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

            allocate (accel_mag(0:m, 0:n, 0:p))

=====================================================================
Found a 1 line (14 tokens) duplication in the following files:
Starting at line 201 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 204 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 209 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 213 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 220 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 228 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 255 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 262 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 271 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 297 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 307 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                        q_sf(j, k, l) = (11d0*q_prim_vf0(mom_idx%beg)%sf(j, k, l) &

=====================================================================
Found a 1 line (14 tokens) duplication in the following files:
Starting at line 224 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 290 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 291 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 292 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 301 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 303 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 311 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &

=====================================================================
Found a 1 line (14 tokens) duplication in the following files:
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 290 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 291 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 292 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &

=====================================================================
Found a 1 line (14 tokens) duplication in the following files:
Starting at line 248 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 267 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 276 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                         - 18d0*q_prim_vf1(mom_idx%beg + 1)%sf(j, k, l) &

=====================================================================
Found a 2 line (14 tokens) duplication in the following files:
Starting at line 255 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 257 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 262 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 264 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 266 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 271 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 273 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 275 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 303 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                q_prim_vf0(mom_idx%beg + 1)%sf(r + j, k, l) &

=====================================================================
Found a 1 line (14 tokens) duplication in the following files:
Starting at line 266 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 290 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 291 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 292 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &

=====================================================================
Found a 1 line (14 tokens) duplication in the following files:
Starting at line 268 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 290 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 291 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 292 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    - (q_prim_vf0(mom_idx%end)%sf(j, k, l)**2d0)/y_cc(k)

=====================================================================
Found a 1 line (14 tokens) duplication in the following files:
Starting at line 275 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 290 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 291 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 292 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &

=====================================================================
Found a 1 line (14 tokens) duplication in the following files:
Starting at line 289 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 292 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                        q_sf(j, k, l) = (11d0*q_prim_vf0(mom_idx%end)%sf(j, k, l) &

=====================================================================
Found a 2 line (14 tokens) duplication in the following files:
Starting at line 45 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 55 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

            alpha(i) = q_prim_vf(E_idx + i)%sf(j, k, l)
        end do

=====================================================================
Found a 2 line (14 tokens) duplication in the following files:
Starting at line 108 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 123 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 203 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                          dy(k)/(abs(vel(2)) + c), &
                                          fltr_dtheta/(abs(vel(3)) + c))

=====================================================================
Found a 2 line (14 tokens) duplication in the following files:
Starting at line 124 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 148 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                         fltr_dtheta*(abs(vel(3)) + c)) &
                                     /maxval(1d0/Re_l)

=====================================================================
Found a 1 line (13 tokens) duplication in the following files:
Starting at line 77 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 191 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 85 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 86 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 181 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

            allocate (accel_mag(0:m, 0:n, 0:p))

=====================================================================
Found a 1 line (13 tokens) duplication in the following files:
Starting at line 201 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 225 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 228 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 233 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 255 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 262 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 271 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 297 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 307 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                        q_sf(j, k, l) = (11d0*q_prim_vf0(mom_idx%beg)%sf(j, k, l) &

=====================================================================
Found a 2 line (13 tokens) duplication in the following files:
Starting at line 208 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 214 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 219 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 221 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 227 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 229 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 254 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 256 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 261 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 263 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 270 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 272 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 296 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 298 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 306 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 308 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                q_sf(j, k, l) = q_sf(j, k, l) &
                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &

=====================================================================
Found a 2 line (13 tokens) duplication in the following files:
Starting at line 212 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 214 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 221 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 229 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 256 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 263 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 272 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 298 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 308 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                q_sf(j, k, l) = q_sf(j, k, l) &
                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &

=====================================================================
Found a 1 line (13 tokens) duplication in the following files:
Starting at line 215 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 258 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 264 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 265 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 273 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 274 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 299 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 309 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &

=====================================================================
Found a 1 line (13 tokens) duplication in the following files:
Starting at line 222 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 258 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 265 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 274 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &

=====================================================================
Found a 1 line (13 tokens) duplication in the following files:
Starting at line 224 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 302 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 303 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 311 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 312 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &

=====================================================================
Found a 1 line (13 tokens) duplication in the following files:
Starting at line 230 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 258 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 265 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 274 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &

=====================================================================
Found a 1 line (13 tokens) duplication in the following files:
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 302 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 312 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &

=====================================================================
Found a 1 line (13 tokens) duplication in the following files:
Starting at line 266 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 302 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 312 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &

=====================================================================
Found a 1 line (13 tokens) duplication in the following files:
Starting at line 35 of /Users/spencer/Downloads/mfc/src/simulation/m_nvtx.f90
Starting at line 57 of /Users/spencer/Downloads/mfc/src/simulation/m_nvtx.f90

            character(kind=c_char, len=*) :: name

=====================================================================
Found a 1 line (13 tokens) duplication in the following files:
Starting at line 108 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 131 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 203 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 207 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                          dy(k)/(abs(vel(2)) + c), &

=====================================================================
Found a 1 line (13 tokens) duplication in the following files:
Starting at line 109 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 113 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 204 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 208 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                          fltr_dtheta/(abs(vel(3)) + c))

=====================================================================
Found a 1 line (13 tokens) duplication in the following files:
Starting at line 112 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 123 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                          dy(k)/(abs(vel(2)) + c), &

=====================================================================
Found a 3 line (13 tokens) duplication in the following files:
Starting at line 120 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 159 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                       /min(dx(j), dy(k), fltr_dtheta)**2d0

                    Rc_sf(j, k, l) = min(dx(j)*(abs(vel(1)) + c), &

=====================================================================
Found a 1 line (13 tokens) duplication in the following files:
Starting at line 122 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 155 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 161 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                    Rc_sf(j, k, l) = min(dx(j)*(abs(vel(1)) + c), &

=====================================================================
Found a 1 line (13 tokens) duplication in the following files:
Starting at line 130 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 155 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                    Rc_sf(j, k, l) = min(dx(j)*(abs(vel(1)) + c), &

=====================================================================
Found a 1 line (13 tokens) duplication in the following files:
Starting at line 147 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 155 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                Rc_sf(j, k, l) = min(dx(j)*(abs(vel(1)) + c), &

=====================================================================
Found a 1 line (12 tokens) duplication in the following files:
Starting at line 151 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 152 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 155 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                            accel_mag(i, j, k) = sqrt(x_accel(i, j, k)**2d0 + &

=====================================================================
Found a 2 line (12 tokens) duplication in the following files:
Starting at line 201 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 249 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 291 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                        q_sf(j, k, l) = (11d0*q_prim_vf0(mom_idx%beg)%sf(j, k, l) &
                                         - 18d0*q_prim_vf1(mom_idx%beg)%sf(j, k, l) &

=====================================================================
Found a 1 line (12 tokens) duplication in the following files:
Starting at line 202 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 225 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 233 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                         - 18d0*q_prim_vf1(mom_idx%beg)%sf(j, k, l) &

=====================================================================
Found a 2 line (12 tokens) duplication in the following files:
Starting at line 203 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 247 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 289 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                         + 9d0*q_prim_vf2(mom_idx%beg)%sf(j, k, l) &
                                         - 2d0*q_prim_vf3(mom_idx%beg)%sf(j, k, l))/(6d0*dt)

=====================================================================
Found a 1 line (12 tokens) duplication in the following files:
Starting at line 204 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 304 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                         - 2d0*q_prim_vf3(mom_idx%beg)%sf(j, k, l))/(6d0*dt)

=====================================================================
Found a 2 line (12 tokens) duplication in the following files:
Starting at line 209 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 215 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 220 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 222 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 224 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 228 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 230 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                q_prim_vf0(mom_idx%beg)%sf(r + j, k, l)

=====================================================================
Found a 1 line (12 tokens) duplication in the following files:
Starting at line 210 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 256 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 263 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 272 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 298 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 308 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                q_prim_vf0(mom_idx%beg)%sf(r + j, k, l)

=====================================================================
Found a 2 line (12 tokens) duplication in the following files:
Starting at line 213 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 215 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 222 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 224 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 230 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                q_prim_vf0(mom_idx%beg)%sf(r + j, k, l) &

=====================================================================
Found a 1 line (12 tokens) duplication in the following files:
Starting at line 216 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 265 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 274 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 300 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 310 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                q_prim_vf0(mom_idx%beg)%sf(j, r + k, l)

=====================================================================
Found a 1 line (12 tokens) duplication in the following files:
Starting at line 223 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 258 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    q_prim_vf0(mom_idx%beg)%sf(j, r + k, l) &

=====================================================================
Found a 1 line (12 tokens) duplication in the following files:
Starting at line 225 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 276 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 302 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 312 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    q_prim_vf0(mom_idx%beg)%sf(j, k, r + l)/y_cc(k)

=====================================================================
Found a 1 line (12 tokens) duplication in the following files:
Starting at line 231 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 258 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    q_prim_vf0(mom_idx%beg)%sf(j, r + k, l) &

=====================================================================
Found a 1 line (12 tokens) duplication in the following files:
Starting at line 233 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 267 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 302 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    q_prim_vf0(mom_idx%beg)%sf(j, k, r + l)

=====================================================================
Found a 1 line (12 tokens) duplication in the following files:
Starting at line 248 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 258 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 265 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 274 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                         - 18d0*q_prim_vf1(mom_idx%beg + 1)%sf(j, k, l) &

=====================================================================
Found a 1 line (12 tokens) duplication in the following files:
Starting at line 290 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 302 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 312 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                         - 18d0*q_prim_vf1(mom_idx%end)%sf(j, k, l) &

=====================================================================
Found a 2 line (12 tokens) duplication in the following files:
Starting at line 297 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 299 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 301 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 307 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 309 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 311 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &
                                                q_prim_vf0(mom_idx%end)%sf(r + j, k, l) &

=====================================================================
Found a 1 line (12 tokens) duplication in the following files:
Starting at line 28 of /Users/spencer/Downloads/mfc/src/simulation/m_nvtx.f90
Starting at line 61 of /Users/spencer/Downloads/mfc/src/simulation/m_nvtx.f90
Starting at line 77 of /Users/spencer/Downloads/mfc/src/simulation/m_nvtx.f90

#if defined(MFC_OpenACC) && defined(__PGI)

=====================================================================
Found a 1 line (12 tokens) duplication in the following files:
Starting at line 109 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 124 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 132 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 204 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 208 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                          fltr_dtheta/(abs(vel(3)) + c))

=====================================================================
Found a 1 line (12 tokens) duplication in the following files:
Starting at line 113 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 124 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 132 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                          dz(l)/(abs(vel(3)) + c))

=====================================================================
Found a 1 line (12 tokens) duplication in the following files:
Starting at line 120 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 145 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                       /min(dx(j), dy(k), fltr_dtheta)**2d0

=====================================================================
Found a 1 line (12 tokens) duplication in the following files:
Starting at line 120 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 216 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                       /min(dx(j), dy(k), fltr_dtheta)**2d0

=====================================================================
Found a 1 line (12 tokens) duplication in the following files:
Starting at line 128 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 145 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                       /min(dx(j), dy(k), dz(l))**2d0

=====================================================================
Found a 1 line (12 tokens) duplication in the following files:
Starting at line 128 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 213 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                       /min(dx(j), dy(k), dz(l))**2d0

=====================================================================
Found a 6 line (12 tokens) duplication in the following files:
Starting at line 133 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 217 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                     /maxval(1d0/Re_l)
                end if

            end if

        elseif (n > 0) then

=====================================================================
Found a 3 line (11 tokens) duplication in the following files:
Starting at line 69 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 78 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

            allocate (fd_coeff_x(-fd_number:fd_number, 0:m))
            if (n > 0) then
                allocate (fd_coeff_y(-fd_number:fd_number, 0:n))

=====================================================================
Found a 1 line (11 tokens) duplication in the following files:
Starting at line 201 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 216 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 220 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 223 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 228 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 231 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 255 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 262 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 271 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 297 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 307 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                        q_sf(j, k, l) = (11d0*q_prim_vf0(mom_idx%beg)%sf(j, k, l) &

=====================================================================
Found a 1 line (11 tokens) duplication in the following files:
Starting at line 201 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 220 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 222 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 224 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 228 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 230 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 248 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 255 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 257 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 262 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 264 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 266 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 268 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 271 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 273 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 275 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 290 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 297 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 299 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 301 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 303 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 307 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 309 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 311 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                        q_sf(j, k, l) = (11d0*q_prim_vf0(mom_idx%beg)%sf(j, k, l) &

=====================================================================
Found a 1 line (11 tokens) duplication in the following files:
Starting at line 202 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 247 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 249 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 289 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 291 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                         - 18d0*q_prim_vf1(mom_idx%beg)%sf(j, k, l) &

=====================================================================
Found a 1 line (11 tokens) duplication in the following files:
Starting at line 203 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 248 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 290 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                         + 9d0*q_prim_vf2(mom_idx%beg)%sf(j, k, l) &

=====================================================================
Found a 1 line (11 tokens) duplication in the following files:
Starting at line 209 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 215 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 222 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 224 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 230 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 257 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 264 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 266 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 268 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 273 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 275 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 299 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 301 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 303 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 309 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 311 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &

=====================================================================
Found a 1 line (11 tokens) duplication in the following files:
Starting at line 213 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 215 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 222 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 224 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 230 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 257 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 264 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 266 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 268 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 273 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 275 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 299 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 301 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 303 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 309 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 311 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &

=====================================================================
Found a 1 line (11 tokens) duplication in the following files:
Starting at line 215 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 256 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 257 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 263 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 264 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 272 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 273 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 299 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 309 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &

=====================================================================
Found a 1 line (11 tokens) duplication in the following files:
Starting at line 222 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 256 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 263 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 272 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &

=====================================================================
Found a 1 line (11 tokens) duplication in the following files:
Starting at line 224 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 300 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 301 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 303 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 310 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 311 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &

=====================================================================
Found a 1 line (11 tokens) duplication in the following files:
Starting at line 230 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 256 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 263 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 272 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &

=====================================================================
Found a 1 line (11 tokens) duplication in the following files:
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 300 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 310 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &

=====================================================================
Found a 1 line (11 tokens) duplication in the following files:
Starting at line 266 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 300 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 310 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &

=====================================================================
Found a 1 line (11 tokens) duplication in the following files:
Starting at line 44 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 45 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 55 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

            alpha_rho(i) = q_prim_vf(i)%sf(j, k, l)

=====================================================================
Found a 1 line (11 tokens) duplication in the following files:
Starting at line 107 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 155 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 161 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 202 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 206 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 223 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                icfl_sf(j, k, l) = dt/min(dx(j)/(abs(vel(1)) + c), &

=====================================================================
Found a 1 line (11 tokens) duplication in the following files:
Starting at line 108 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 141 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 148 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 203 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 207 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 224 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                          dy(k)/(abs(vel(2)) + c), &

=====================================================================
Found a 1 line (11 tokens) duplication in the following files:
Starting at line 111 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 155 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 161 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                icfl_sf(j, k, l) = dt/min(dx(j)/(abs(vel(1)) + c), &

=====================================================================
Found a 1 line (11 tokens) duplication in the following files:
Starting at line 112 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 148 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                          dy(k)/(abs(vel(2)) + c), &

=====================================================================
Found a 1 line (11 tokens) duplication in the following files:
Starting at line 120 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 227 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                       /min(dx(j), dy(k), fltr_dtheta)**2d0

=====================================================================
Found a 1 line (11 tokens) duplication in the following files:
Starting at line 128 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 227 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                       /min(dx(j), dy(k), dz(l))**2d0

=====================================================================
Found a 4 line (11 tokens) duplication in the following files:
Starting at line 133 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 161 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                     /maxval(1d0/Re_l)
                end if

            end if

=====================================================================
Found a 1 line (11 tokens) duplication in the following files:
Starting at line 145 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 213 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 216 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                vcfl_sf(j, k, l) = maxval(dt/Re_l/rho)/min(dx(j), dy(k))**2d0

=====================================================================
Found a 3 line (11 tokens) duplication in the following files:
Starting at line 155 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 224 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

            icfl_sf(j, k, l) = (dt/dx(j))*(abs(vel(1)) + c)

            if (any(Re_size > 0)) then

=====================================================================
Found a 1 line (11 tokens) duplication in the following files:
Starting at line 214 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 235 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                              /minval(1/(rho*Re_l))

=====================================================================
Found a 3 line (10 tokens) duplication in the following files:
Starting at line 71 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 104 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 136 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                allocate (fd_coeff_y(-fd_number:fd_number, 0:n))
            end if
            if (p > 0) then

=====================================================================
Found a 3 line (10 tokens) duplication in the following files:
Starting at line 103 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 108 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                call s_compute_finite_difference_coefficients(n, y_cc, fd_coeff_y, buff_size, &
                                                              fd_number, fd_order)
            end if

=====================================================================
Found a 1 line (10 tokens) duplication in the following files:
Starting at line 151 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 153 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 155 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 156 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                            accel_mag(i, j, k) = sqrt(x_accel(i, j, k)**2d0 + &

=====================================================================
Found a 1 line (10 tokens) duplication in the following files:
Starting at line 191 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 36 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 37 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 38 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 40 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 83 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 85 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 86 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 91 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 179 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 181 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 186 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

        real(kind(0d0)), dimension(0:m, 0:n, 0:p), intent(out) :: q_sf

=====================================================================
Found a 1 line (10 tokens) duplication in the following files:
Starting at line 201 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 215 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 222 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 224 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 230 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 247 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 249 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 250 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 255 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 257 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 262 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 264 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 266 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 268 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 271 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 273 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 275 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 289 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 291 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 292 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 297 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 299 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 301 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 303 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 304 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 307 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 309 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 311 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 44 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 45 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 55 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 63 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                        q_sf(j, k, l) = (11d0*q_prim_vf0(mom_idx%beg)%sf(j, k, l) &

=====================================================================
Found a 1 line (10 tokens) duplication in the following files:
Starting at line 202 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 216 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 223 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 231 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                         - 18d0*q_prim_vf1(mom_idx%beg)%sf(j, k, l) &

=====================================================================
Found a 1 line (10 tokens) duplication in the following files:
Starting at line 202 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 215 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 222 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 224 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 230 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 250 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 257 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 264 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 266 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 268 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 273 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 275 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 292 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 299 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 301 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 303 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 304 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 309 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 311 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 44 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 45 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 55 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 63 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                         - 18d0*q_prim_vf1(mom_idx%beg)%sf(j, k, l) &

=====================================================================
Found a 1 line (10 tokens) duplication in the following files:
Starting at line 203 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 215 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 222 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 224 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 230 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 250 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 257 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 264 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 266 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 268 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 273 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 275 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 292 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 299 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 301 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 303 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 304 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 309 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 311 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 44 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 45 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 55 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 63 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                         + 9d0*q_prim_vf2(mom_idx%beg)%sf(j, k, l) &

=====================================================================
Found a 1 line (10 tokens) duplication in the following files:
Starting at line 204 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 215 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 222 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 224 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 230 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 247 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 248 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 249 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 257 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 264 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 266 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 268 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 273 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 275 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 289 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 290 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 291 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 299 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 301 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 303 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 309 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 311 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 44 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 45 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 55 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 63 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                         - 2d0*q_prim_vf3(mom_idx%beg)%sf(j, k, l))/(6d0*dt)

=====================================================================
Found a 2 line (10 tokens) duplication in the following files:
Starting at line 208 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 223 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 227 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 229 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 231 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 254 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 256 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 261 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 263 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 265 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 270 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 272 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 274 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 296 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 298 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 300 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 306 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 308 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 310 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                q_sf(j, k, l) = q_sf(j, k, l) &
                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &

=====================================================================
Found a 1 line (10 tokens) duplication in the following files:
Starting at line 209 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 247 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 248 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 249 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 250 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 289 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 290 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 291 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 292 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 304 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 44 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 45 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 55 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 63 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &

=====================================================================
Found a 2 line (10 tokens) duplication in the following files:
Starting at line 212 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 223 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 231 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 265 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 274 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 300 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 310 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                q_sf(j, k, l) = q_sf(j, k, l) &
                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &

=====================================================================
Found a 1 line (10 tokens) duplication in the following files:
Starting at line 213 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 247 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 248 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 249 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 250 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 289 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 290 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 291 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 292 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 304 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 44 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 45 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 55 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 63 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                                                + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &

=====================================================================
Found a 2 line (10 tokens) duplication in the following files:
Starting at line 214 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 223 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 231 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 265 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 274 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 300 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 310 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                q_prim_vf0(mom_idx%beg)%sf(r + j, k, l) &
                                                + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &

=====================================================================
Found a 2 line (10 tokens) duplication in the following files:
Starting at line 219 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 223 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 231 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 265 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 274 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 300 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 310 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                    q_sf(j, k, l) = q_sf(j, k, l) &
                                                    + q_prim_vf0(mom_idx%beg)%sf(j, k, l)*fd_coeff_x(r, j)* &

=====================================================================
Found a 2 line (10 tokens) duplication in the following files:
Starting at line 221 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 223 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 231 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 265 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 274 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 300 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 310 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    q_prim_vf0(mom_idx%beg)%sf(r + j, k, l) &
                                                    + q_prim_vf0(mom_idx%beg + 1)%sf(j, k, l)*fd_coeff_y(r, k)* &

=====================================================================
Found a 2 line (10 tokens) duplication in the following files:
Starting at line 224 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 303 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &
                                                    q_prim_vf0(mom_idx%beg)%sf(j, k, r + l)/y_cc(k)

=====================================================================
Found a 2 line (10 tokens) duplication in the following files:
Starting at line 232 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 303 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                                    + q_prim_vf0(mom_idx%end)%sf(j, k, l)*fd_coeff_z(r, l)* &
                                                    q_prim_vf0(mom_idx%beg)%sf(j, k, r + l)

=====================================================================
Found a 5 line (10 tokens) duplication in the following files:
Starting at line 235 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 313 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                            end if
                        end do
                    end do
                end do
            end do

=====================================================================
Found a 1 line (10 tokens) duplication in the following files:
Starting at line 248 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 256 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 263 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 272 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                         - 18d0*q_prim_vf1(mom_idx%beg + 1)%sf(j, k, l) &

=====================================================================
Found a 5 line (10 tokens) duplication in the following files:
Starting at line 278 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 313 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                            end if
                        end do
                    end do
                end do
            end do

=====================================================================
Found a 1 line (10 tokens) duplication in the following files:
Starting at line 290 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 300 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90
Starting at line 310 of /Users/spencer/Downloads/mfc/src/simulation/m_derived_variables.f90

                                         - 18d0*q_prim_vf1(mom_idx%end)%sf(j, k, l) &

=====================================================================
Found a 1 line (10 tokens) duplication in the following files:
Starting at line 81 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 177 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

    subroutine s_compute_stability_from_dt(vel, c, rho, Re_l, j, k, l, icfl_sf, vcfl_sf, Rc_sf)

=====================================================================
Found a 3 line (10 tokens) duplication in the following files:
Starting at line 104 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 116 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 199 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 211 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

        if (p > 0) then
            !3D
            if (grid_geometry == 3) then

=====================================================================
Found a 2 line (10 tokens) duplication in the following files:
Starting at line 110 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 153 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

            else
                icfl_sf(j, k, l) = dt/min(dx(j)/(abs(vel(1)) + c), &

=====================================================================
Found a 1 line (10 tokens) duplication in the following files:
Starting at line 116 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 143 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 157 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 211 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 226 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 234 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

            if (any(Re_size > 0)) then

=====================================================================
Found a 1 line (10 tokens) duplication in the following files:
Starting at line 122 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 241 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                    Rc_sf(j, k, l) = min(dx(j)*(abs(vel(1)) + c), &

=====================================================================
Found a 1 line (10 tokens) duplication in the following files:
Starting at line 130 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 241 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                    Rc_sf(j, k, l) = min(dx(j)*(abs(vel(1)) + c), &

=====================================================================
Found a 1 line (10 tokens) duplication in the following files:
Starting at line 147 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90
Starting at line 241 of /Users/spencer/Downloads/mfc/src/simulation/m_sim_helpers.f90

                Rc_sf(j, k, l) = min(dx(j)*(abs(vel(1)) + c), &
@sbryngelson sbryngelson added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers continuous-integration Continuous integration (CI) labels Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
continuous-integration Continuous integration (CI) enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Development

No branches or pull requests

1 participant