error

class error.NoInversionSymmetryError[source]

An error class defined for not finding the inversion symmetry center.

class error.SlabOrientationError[source]

An error class defined for wrong slab orientation error.

class error.NonCentralInversionSymmetryError[source]

An error class defined for the slab model which does not have the inversion symmetry center located at the origin.

class error.PrimitiveStructureFinderError[source]

An error class defined for wrong refined structure (some sites are lost or redundant).

class error.NonDefinedSelectiveDynamicsError[source]

An error class defined for the slab model that does not have selective dynamics defined for all sites (selective dynamics is extremely useful in several steps).

class error.NonSlabError[source]

An error class defined for the structure that is not a slab model (no enough vacuum region in the model).

class error.PolarSurfaceError(num_layers, num_fixed)[source]

An error class defined for the polar surface.

Parameters:
  • num_layers – Number of layers in the slab model.

  • num_fixed – Number of fixed layers in the slab model.

class error.NonPolarSurfaceError(num_layers, num_fixed)[source]

An error class defined for the non-polar surface.

Parameters:
  • num_layers – Number of layers in the slab model.

  • num_fixed – Number of fixed layers in the slab model.

class error.TooLargeSlabError[source]

An error class defined for the too large slab model.

class error.InvalidCompositionError[source]

An error class defined for the invalid user defined composition list to be enumerated.

class error.InvalidPhasesAlignError[source]

An error class defined for the invalid phases used to calculate the alignment energy.

class error.NonIntegerError[source]

An error class defined to check whether the after enumerated number of atoms is an integer with tolerance.

class error.IncompatibleSymmError[source]
An error class defined to show that the user defined symmetric parameter is

not compatible with code determined symmetric parameter.