Assertion raised deep inside MLMG solver when initializing MLPoisson #2579
-
I have adapted the gravity code from Castro to work with my AMRCore-based code (quokka-astro/quokka#20) but I get a runtime assertion when calling the MLPoisson constructor
that I can't figure out:
There are no memory errors or warnings reported by valgrind. I get the following backtrace:
Does this point to something relatively obvious? I'm afraid I don't understand what is going on behind the scenes enough to step through each frame of the backtrace to see where it starts to go wrong. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
It looks like the BoxArray passed to MLPoisson is not cell-centered. MLPoisson is for cell-centered only. |
Beta Was this translation helpful? Give feedback.
It looks like the BoxArray passed to MLPoisson is not cell-centered. MLPoisson is for cell-centered only.