diff options
author | 2021-10-04 21:31:53 +0200 | |
---|---|---|
committer | 2021-10-04 12:31:53 -0700 | |
commit | d0cc41acec8fbba8d66fabd3351751adf00903d7 (patch) | |
tree | a81179ac9fa9df10a5f3eee4c62eee2812a5b2f2 /Source/Particles/MultiParticleContainer.cpp | |
parent | f32fca03f725afa92ee380884d86e116e265aee1 (diff) | |
download | WarpX-d0cc41acec8fbba8d66fabd3351751adf00903d7.tar.gz WarpX-d0cc41acec8fbba8d66fabd3351751adf00903d7.tar.zst WarpX-d0cc41acec8fbba8d66fabd3351751adf00903d7.zip |
Add structure for proton-boron fusion module (#2217)
* Add structure for proton-boron fusion module
* Fix clang compile error
* Generalize structure for other nuclear fusion types
* Workaround: try to use std::vectors to fix clang compile error
* Simplify workaround for clang
* Rebase on 2245 and add empty particle creation functor
* Apply suggestions from code review
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* Add couple of consts and runtime assert
* Add another const
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Diffstat (limited to 'Source/Particles/MultiParticleContainer.cpp')
-rw-r--r-- | Source/Particles/MultiParticleContainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/MultiParticleContainer.cpp b/Source/Particles/MultiParticleContainer.cpp index 3f916c92a..f7e990c34 100644 --- a/Source/Particles/MultiParticleContainer.cpp +++ b/Source/Particles/MultiParticleContainer.cpp @@ -127,7 +127,7 @@ MultiParticleContainer::MultiParticleContainer (AmrCore* amr_core) } // Setup particle collisions - collisionhandler = std::make_unique<CollisionHandler>(); + collisionhandler = std::make_unique<CollisionHandler>(this); } |