# Vacancy¶

class Vacancy(site_index=None, unit_cell_index=None)

Defines a vacancy defect. Used as part of a ChargedPointDefect study.

Parameters: site_index (int) – The index of the atom in the bulk unit cell configuration to be removed to create the vacancy. Default: 0 unit_cell_index (sequence (size 3) of int) – The index of the unit cell in the infinite crystal which the vacancy site belongs to. Default: (0, 0, 0)
siteIndex()
Returns: The index of the lattice site which the defect is referenced to. int
unitCellIndex()
Returns: The index of the unit cell in the infinite crystal which the reference site belongs to. tuple (size 3) of int

## Notes¶

See Defining the point defect for a description of how to use this object as part of a ChargedPointDefect study.