Skip to content

Commit 44d63f6

Browse files
sbryngelsonclaude
andcommitted
Remove duplicate R3bar accumulation line that doubles bubble perturbation
Character-for-character identical duplicate line causes R3bar to always be 2x the intended value for QBMM cases. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5904c42 commit 44d63f6

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/pre_process/m_assign_variables.fpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ contains
231231
if (qbmm) then
232232
do i = 1, nb
233233
R3bar = R3bar + weight(i)*0.5_wp*(q_prim_vf(bubxb + 1 + (i - 1)*nmom)%sf(j, k, l))**3._wp
234-
R3bar = R3bar + weight(i)*0.5_wp*(q_prim_vf(bubxb + 1 + (i - 1)*nmom)%sf(j, k, l))**3._wp
235234
end do
236235
else
237236
do i = 1, nb

0 commit comments

Comments
 (0)