amrex
amrex copied to clipboard
Advection Tests and Tracers SIGABRT with `ref_ratio = 4 4 4 4`
For both the tests, Advection_AmrCore and Advection_AmrLevel, a segfault occurs when ref_ratio = 4 4 4 4
and tracers are turned on. This happens for both 2D and 3D runs.
The error msg given is:
amrex::Abort::1::ParticleContainer::locateParticle(): invalid particle. !!!
SIGABRT
Tracked the issue a bit more: Error only occurs when subcycling is turned on.
Not enough ghost cells? Advection_AmrCore/Source/AmrCoreAdv.H: int nghost = 2;
Need 4 if ref_ratio is 4 && tracer particle is on && subcycling is on?