Interstitial#
- class Interstitial(specie=None, defect_site=None, bulk_structure=None, charge=None, multiplicity=None, bulk_volume=None, label=None)[source]#
Bases:
DefectSubclass of Defect for interstitial defects.
Base class for defect objets.
- Parameters:
specie (str) – Defect element symbol.
defect_site (Site) – Pymatgen Site object of the defect.
bulk_structure (Structure) – Pymatgen Structure without defects.
charge (int or float) – Charge of the defect.
multiplicity (int) – Multiplicity of defect within the simulation cell.
bulk_volume (float) – Volume of bulk cell in A°^3.
label (str) – Defect label.
Methods
as_dictA JSON serializable dict representation of an object.
from_dictReconstruct an MSONable object from a dict.
from_stringGenerate a structure containing the defect starting from a bulk structure.
loadLoad an instance from a JSON file written by
save().saveSerialize the instance to JSON on disk, pickling fields if needed.
set_bulk_volumeSets the volume of bulk cell
set_chargeSets the charge of the defect.
set_labelSets the label of the defect
set_multiplicitySets the Multiplicity of the defect.
to_jsonReturns a json string representation of the MSONable object.
unsafe_hashReturn a hash of the current object.
validate_monty_v1Pydantic validator with correct signature for pydantic v1.x.
validate_monty_v2Pydantic validator with correct signature for pydantic v2.x.
Attributes
REDIRECTbulk_structureStructure without defects.
bulk_volumeVolume of bulk cell in A°^3.
chargeCharge of the defect.
Composition of the defect.
Index of the defect site in the defect structure
defect_structureStructure of the defect.
defectsDictionary with element symbol as keys and difference in particle number between defect and bulk structure as values
labelDefect label.
multiplicityMultiplicity of a defect site within the structure
Name of the defect.
siteDefect position as a Site object
site_concentration_in_cm3Site concentration (multiplicity/volume) expressed in cm^-3.
specieDefect species.
Latex formatted name of the defect.
symbol_with_chargeName in latex format with charge written as a number.
symbol_with_charge_kvName in latex format with charge written with Kröger and Vink notation.
typeDefect type.
- property defect_composition#
Composition of the defect.
- property defect_site_index#
Index of the defect site in the defect structure
- property delta_atoms#
Dictionary with element symbol as keys and difference in particle number between defect and bulk structure as values
- generate_defect_structure(bulk_structure=None)[source]#
Generate a structure containing the defect starting from a bulk structure.
- Parameters:
bulk_structure (Structure) – Bulk Structure. If not provided self.bulk_structure is used.
- Returns:
structure – Structure containing the defect.
- Return type:
Structure
- property name#
Name of the defect.
- property symbol#
Latex formatted name of the defect.