-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Monte Carlo Collisions (#2085)
* Update Monte Carlo Collisions This addresses a number of issues in the Monte Carlo collision code. * `MCCProcess` is not trivially copyable because it contains `ManagedVector`. Therefore, it cannot be captured by GPU device lambda. * The use of managed memory may have performance issues. * There are memory leaks because some raw pointers allocated by `new` are not `delete`d. * `BackgroundMCCCollision` derives from a virtual base class, but the compiler generated destructor is not automatically virtual. * Apply suggestions from code review Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> * Apply the suggestion from @PhilMiller to get rid of unique_ptr Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
- Loading branch information
1 parent
521112f
commit 40e36e1
Showing
7 changed files
with
165 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.