NaNs on face-centered values when using grid coarsening in 2.1 #309
-
|
Hi all, I recently moved from 2.0 to 2.1 and everything works great, except grid coarsening. The setup I am using is 3D spherical MHD, going from that I activate via Unfortunately my supercomputer is down for the week so I won't be able to do any tests. Thanks ! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
I've seen this before when the grid coarsening level becomes negative (i.e. sin(th)<0). A way to cure this is to use |
Beta Was this translation helpful? Give feedback.
I've seen this before when the grid coarsening level becomes negative (i.e. sin(th)<0). A way to cure this is to use
std::abs(sin(th(j))). We should have a way to check for this though...