narupatools.imd.interaction_source¶
Protocol for an interactions source.
Functions
Wrap a pythonic dictionary as an interaction. |
-
narupatools.imd.interaction_source.wrap_interaction_source(dict: Mapping[str, narupa.imd.particle_interaction.ParticleInteraction], /) → narupatools.imd.interaction_source.InteractionsSource¶ Wrap a pythonic dictionary as an interaction.
- Parameters
dict – Generic mapping of string keys to interactions.
Classes
|
General protocol for an object which can provide interactions. |