LinearMaxDistanceProvider¶
- class pylimer_tools_cpp.LinearMaxDistanceProvider(self: pylimer_tools_cpp.LinearMaxDistanceProvider, max_distance_multiplier: float)¶
Bases:
MaxDistanceProvider
For MC generation, converts the \(N\) to a maximum distance within which to sample. The distance will be calculated as \(N \times \text{max_distance_multiplier}\). Useful only for performance improvements in large systems.
- Parameters:
max_distance_multiplier – Multiplier for the maximum distance.
Methods Summary
get_max_distance
(self, N)Get the maximum distance for a given N.
Methods Documentation
- get_max_distance(self: pylimer_tools_cpp.LinearMaxDistanceProvider, N: float) float ¶
Get the maximum distance for a given N.
- Parameters:
N – Number of segments.