pyfracval.experimental.pair_prefilters#

Archived CCA pair-feasibility pre-filters.

The bounding-volume and SSA (surface-accessibility) prefilters were meant to skip doomed candidate pairs before spending time on rigid-body sticking attempts. Benchmarked head-to-head against no filtering at all (hard regime, see docs/source/experiments.md): both land within noise of the vanilla baseline - neither improves success rate, and the extra bookkeeping doesn’t save meaningful wall time either. Kept reachable via cca_pair_feasibility_filter (“bounding_volume” / “ssa”) for anyone who wants to try a different angle later.

Module Contents#

pyfracval.experimental.pair_prefilters.bounding_volume_precheck(gamma_pc, r_max1, r_max2, gamma_real, algorithm_config=None)[source]#

Check if two clusters can physically stick at distance gamma_pc.

pyfracval.experimental.pair_prefilters.surface_accessible_mask(coords, radii, cm, r_max, min_exposure=None, algorithm_config=None)[source]#

Compute surface accessibility mask for each monomer.