Prim#
- class libcasm.configuration.Prim( )#
Bases:
pybind11_object
A data structure that includes a shared
libcasm.xtal.Prim
specifying the parent crystal structure and allowed degrees of freedom (DoF), along with the symmetry representations needed for applying symmetry toConfiguration
.Constructor
- Parameters:
xtal_prim (Prim) – A
libcasm.xtal.Prim
Methods
Construct a Prim from a Python dict.
Construct a Prim from a JSON-formatted string.
Returns the prim DoF basis matrix, B, for global DoF values of type key.
Returns the prim DoF basis matrix inverse, B_inv, for global DoF values of type key.
Returns the symmetry group representation that describes how global " continuous DoF transform under symmetry.
Returns the prim DoF basis matrix, B, for local DoF values of type key on sublattice sublattice_index.
Returns the prim DoF basis matrix inverse, B_inv, for local DoF values of type key on sublattice sublattice_index.
Returns the symmetry group representation that describes how local " continuous DoF transform under symmetry.
Represent the Prim as a Python dict
Represent the Prim as a JSON-formatted string.
Attributes
The symmetry group representation that describes how the atom positions of molecular occupants transform under symmetry.
The continuous magspin DoF flavor if present, else None.
The continuous magspin DoF key if present, else None.
The crystal point group.
The discrete atomic magspin flavor if present, else None.
The discrete atomic magspin key if present, else None.
The factor group.
Returns True if any permutation in
Prim.occ_symgroup_rep()
is non-trivial, False otherwise.True if >1 occupant allowed on any sublattice, False otherwise.
The symmetry group representation for transforming
IntegralSiteCoordinate
by prim factor group operations.True if the prim allows 1 or more occupants on each site, all occupants have a single atom without coordinate offset, and no occupants have
Occupant
properties, onlyAtomComponent
properties.The lattice point group.
The symmetry group representation that describes how occupant indices transform under symmetry.
The internal shared
libcasm.xtal.Prim