NoMaxDistanceProvider

class pylimer_tools_cpp.NoMaxDistanceProvider(self: pylimer_tools_cpp.NoMaxDistanceProvider)

Bases: MaxDistanceProvider

For MC generation, to disable the neighbour list usage.

Methods Summary

get_max_distance(self, N)

Get the maximum distance for a given N (always returns -1 to disable).

Methods Documentation

get_max_distance(self: pylimer_tools_cpp.NoMaxDistanceProvider, N: SupportsFloat) float

Get the maximum distance for a given N (always returns -1 to disable).

Parameters:

N – Number of segments (ignored).

Returns:

Always returns -1 to disable maximum distance checks.