compute_surface_area
legacy Direct dgrid surface-area wrapper; prefer mesh winding helpers on segmentation results. Use compute_surface_area_mesh_winding instead.
compute.compute_surface_area(dgrid, probe_radius=None, mat_atoms=None)Compute the surface area based on the distance grid and probe radius.
Parameters
dgrid : numpy.ndarray The distance grid computed from the atomic structure. probe_radius : float, optional The radius of the probe to use for surface area calculation. If None, defaults to the radius of helium (atomic number 2). mat_atoms : ase.Atoms The atomic structure for which the surface area is being calculated.
Returns
float The surface area in m^2/g.