min_distance_descriptor¶
- jaxrens.constraints.min_distance.min_distance_descriptor(d_min_matrix, *, type_dependent)[source]¶
Wrap a minimum-distance matrix in a
ConstraintDescriptor.- Parameters:
d_min_matrix –
(n_types, n_types)threshold matrix.type_dependent (bool) – Whether thresholds vary by species pair. When
Truethe predicate readstypes(so type-changing moves are gated); whenFalse(uniform matrix) only geometry-moving moves are gated. The resolver sets this from the parsed config.
- Returns:
A descriptor registering this constraint with the sampler.
- Return type: