Forgot to add,
even with PETSC_FALSE option, I get the same segfault error. > > On 4 Nov 2025, at 1:39 PM, [email protected] wrote: > > Hi, > I am writing a basic particle tracking code with an existing periodic DMDA. > All velocity calculations and position updates work fine but migration throws > segfault. I have checked and particles are within the periodic box as well. > > I discovered that there is an internal field for coordinates which has to be > defined using its identifier instead of explicitly registering a field. I am > not registering any velocity field (using external vectors). > > Is there something I am missing? > > Thanks, > Prateek
