httk.atomistic.cell_api

The minimal canonical cell interface for httk-atomistic.

Classes

CellAPI

Abstract base class for the canonical cell interface.

Module Contents

class httk.atomistic.cell_api.CellAPI[source]

Bases: abc.ABC

Abstract base class for the canonical cell interface.

It declares the exact accessors that every cell backend produces from its own native representation and every cell view builds its presentation from: the basis of 3x3 lattice vectors (scale * unscaled_basis), the positive scale, and the unscaled_basis. All three are exact httk-core vectors; this is the single interchange format, with no pairwise conversion between backends.

property basis: httk.core.SurdVector[source]
Abstractmethod:

property scale: httk.core.SurdScalar[source]
Abstractmethod:

property unscaled_basis: httk.core.SurdVector[source]
Abstractmethod: