Skip to content

Commit

Permalink
Update Tests/FFT/OpenBC/main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang authored Nov 7, 2024
1 parent 6aac895 commit 5614fb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/FFT/OpenBC/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ int main (int argc, char* argv[])
auto zs = z + ksub*dzsub;
if ((xs*xs+ys*ys+zs*zs) < 0.25_rt) { ++n; }
}}}
rhoma[b](i,j,k) = Real(n) / Real(nsub);
rhoma[b](i,j,k) = Real(n) / Real(nsub*nsub*nsub);
});

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

0 comments on commit 5614fb9

Please sign in to comment.