discard#
- SupercellSet.discard(
- *args,
- **kwargs,
Overloaded function.
discard(self: libcasm.configuration._configuration.SupercellSet, supercell: libcasm.configuration._configuration.Supercell) -> None
Remove a supercell from the set if present. Equivalent to
discard_supercell().discard(self: libcasm.configuration._configuration.SupercellSet, transformation_matrix_to_super: typing.Annotated[numpy.typing.NDArray[numpy.int64], “[3, 3]”]) -> None
Remove a supercell from the set if present, by checking for the transformation matrix. Equivalent to
discard_by_transformation_matrix_to_super().discard(self: libcasm.configuration._configuration.SupercellSet, record: libcasm.configuration._configuration.SupercellRecord) -> None
Remove a supercell from the set if present. Equivalent to
discard_record().discard(self: libcasm.configuration._configuration.SupercellSet, supercell_name: str) -> None
Remove a canonical supercell, determined by supercell name, from the set if present. Equivalent to
discard_by_canonical_name().