Commit 7f8bc8c4 authored by David Vincent's avatar David Vincent Committed by Jonathan Lambrechts
Browse files

remove old condition in cpp file: particle tracker can now be used with

"more than 1 group" meshes
parent d4670647
......@@ -291,7 +291,7 @@ void dgParticleTracker2D::particleMoveSeeds(dgDofContainer* solution, dgDofConta
/* If we have reached this point, then we should have a neighbour.
* Now move over to neighbouring element*/
if (neighGroup != -1 && neighGroup < 1) {
if (neighGroup != -1 ) {
iGroup = neighGroup;
iElem = neighId;
//Save new group & element IDs in particle object
......@@ -675,7 +675,7 @@ void dgParticleTracker2D::particleMove(dgDofContainer* solution, fullMatrix<doub
/* If we have reached this point, then we should have a neighbour.
* Now move over to neighbouring element*/
if (neighGroup != -1 && neighGroup < 1) {
if (neighGroup != -1 ) {
iGroup = neighGroup;
iElem = neighId;
//Save new group & element IDs in particle object
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment