Skip to content

Commit

Permalink
Move Collision Init Logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Jan 10, 2025
1 parent eee476f commit 07d6878
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Source/Particles/MultiParticleContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,6 @@ MultiParticleContainer::MultiParticleContainer (AmrCore* amr_core)
}

pc_tmp = std::make_unique<PhysicalParticleContainer>(amr_core);

// Setup particle collisions
collisionhandler = std::make_unique<CollisionHandler>(this);

}

void
Expand Down Expand Up @@ -454,6 +450,9 @@ MultiParticleContainer::InitMultiPhysicsModules ()
InitQED();
CheckQEDProductSpecies();
#endif

// Setup particle collisions
collisionhandler = std::make_unique<CollisionHandler>(this);
}

void
Expand Down

0 comments on commit 07d6878

Please sign in to comment.