Skip to content
Merged
Changes from 2 commits
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: 5 additions & 5 deletions src/simulation/m_global_parameters.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -1068,6 +1068,11 @@ contains
buff_size = weno_polyn + 2
end if

if (probe_wrt) then
fd_number = max(1, fd_order/2)
buff_size = buff_size + fd_number
end if

! Configuring Coordinate Direction Indexes =========================
idwint(1)%beg = 0; idwint(2)%beg = 0; idwint(3)%beg = 0
idwint(1)%end = m; idwint(2)%end = n; idwint(3)%end = p
Expand All @@ -1090,11 +1095,6 @@ contains
& idwbuff(3)%beg:idwbuff(3)%end))
end if

if (probe_wrt) then
fd_number = max(1, fd_order/2)
buff_size = buff_size + fd_number
end if

startx = -buff_size
starty = 0
startz = 0
Expand Down
Loading