Crate ccmat

Crate ccmat 

Source

Macros§

__vec3_angstrom
lattice_angstrom
Create a Lattice using vectors expressed in Ångström units.

Structs§

Angstrom
notes: Operation safety is guranteed by the type. Use Angstrom as the major internal and default API unit to be consistent with xx/xx. Internally use FracCoord to represent the position to make sure fractional coords don’t change if lattice changes shape or scale.
Atom
AtomsNotSet
AtomsSet
Bohr
Crystal
CrystalBuilder
use builder pattern so the validation is runtime To make it a compile time check, I can use the proc macro (build/build_unchcek API).
CrystalValidateError
Lattice
Lattice inner data structure of the struct are private.
LatticeNotSet
LatticeSet