profess.System.add_coulomb_ions#

System.add_coulomb_ions(z, coords, unit)#

Add Coulomb ions to the system.

Parameters:
zfloat

Ion charge.

coordsarray_like

Ion coordinates in shape Nx3, where N is the number of ions.

unitstr, optional

Length unit for coords. Can be ‘frac’ (the default), indicating fractional coordinates, or a valid length unit, indicating Cartesian coordinates.

Returns:
systemprofess.System