Skip to content

Commit 5614fb9

Browse files
authored
Update Tests/FFT/OpenBC/main.cpp
1 parent 6aac895 commit 5614fb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/FFT/OpenBC/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ int main (int argc, char* argv[])
8080
auto zs = z + ksub*dzsub;
8181
if ((xs*xs+ys*ys+zs*zs) < 0.25_rt) { ++n; }
8282
}}}
83-
rhoma[b](i,j,k) = Real(n) / Real(nsub);
83+
rhoma[b](i,j,k) = Real(n) / Real(nsub*nsub*nsub);
8484
});
8585

8686
FFT::PoissonOpenBC solver(geom, ixtype, IntVect(ng));

0 commit comments

Comments
 (0)