-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(Fatras): Merge continuous and point-like physics lists (#719)
Merge the two separate Fatras physics lists types for continuous and point-like interactions into a single type `InteractionList`. The new type is still a dumb container that splits the configured interaction processes into the two possible types internally at compile-time. It provides the same interfaces as the two previously separate physics lists but simplifies handling and configuration by reducing the moving parts in the code. The main interaction logic is still implemented in the simulation actor, but could be moved to the new interaction list in a future PR. - The new type is named `InteractionList` to clarify that it only supports physics processes for interactions with matter. It is not a general physics list (as in some other simulation packages) and in particular does not handle decays (they are handled in the separate decay module). - The helper wrapper for continuous processes is renamed to `ContinuousProcess` and its documentation is updated accordingly. - The standard interaction list is renamed to `StandardChargedElectroMagneticInteractions`.
- Loading branch information
Showing
19 changed files
with
767 additions
and
708 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
Oops, something went wrong.