Function QCM::new_lattice_model

Function Documentation

void QCM::new_lattice_model(const string &name, vector<int64_t> &superlattice, vector<int64_t> &unit_cell, const string &latt_hybrid)

defines a new lattice model In the current version, there is a single lattice model in memory

Initiates the lattice model.

Parameters:
  • name – name of the model (for reference purposes)

  • superlattice – array of D superlattice vectors, defining the superlattice of the model and the spatial dimension D

  • unit_cell – array of D lattice vectors, defining the unit cell of the model (determines the number of bands)

  • latt_hybrid – name of HDF5 file containing the lattice hybridization data