get_pore_dia_mgr2

alternate Lattice variant, not the default. Use get_pore_dia_mgr_winding instead.

compute.get_pore_dia_mgr2(mat_atoms, dgrid=None, kwargs=None)

Compute pore diameters (LCD/PLD/DFSD) using the periodic-aware percolation solver.

Parameters

mat_atoms : ase.Atoms Atomic structure used to generate the distance grid when dgrid is None. dgrid : np.ndarray, optional Precomputed distance grid. When provided, grid generation is skipped. kwargs : dict, optional Additional options: - spacing (float): grid spacing in Å (default 0.5) - block_size (int): dgrid chunk size (default 50000)

Returns

tuple (lcd, pld, dfsd, distance_grid)