Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions src/pre_process/m_start_up.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ contains

real(wp), intent(inout) :: start, finish

integer :: j, k
integer :: j, k, l

! Setting up the grid and the initial condition. If the grid is read in from
! preexisting grid data files, it is checked for consistency. If the grid is
Expand All @@ -787,10 +787,12 @@ contains

! hard-coded psi
if (hyper_cleaning) then
do j = 0, m
do l = 0, p
do k = 0, n
q_cons_vf(psi_idx)%sf(j, k, 0) = 1d-2*exp(-(x_cc(j)**2 + y_cc(k)**2)/(2.0*0.05**2))
q_prim_vf(psi_idx)%sf(j, k, 0) = q_cons_vf(psi_idx)%sf(j, k, 0)
do j = 0, m
q_cons_vf(psi_idx)%sf(j, k, l) = 1d-2*exp(-(x_cc(j)**2 + y_cc(k)**2 + z_cc(l)**2)/(2.0*0.05**2))
Comment thread
sbryngelson marked this conversation as resolved.
Outdated
Comment thread
sbryngelson marked this conversation as resolved.
Outdated
Comment thread
sbryngelson marked this conversation as resolved.
Outdated
q_prim_vf(psi_idx)%sf(j, k, l) = q_cons_vf(psi_idx)%sf(j, k, l)
end do
Comment thread
sbryngelson marked this conversation as resolved.
end do
end do
end if
Expand Down
Loading