Skip to main content

model

Overloads

NameDescription
model(const string filename) -> ModelConstructs a model from a .lattice_model file.
model(const Lattice lattice) -> ModelConstructs a model containing a lattice.

model(const string filename) -> Model

Constructs a model from a .lattice_model file.

Parameters

  • filename: The name of the .lattice_model file.

model(const Lattice lattice) -> Model

Constructs a model containing a lattice.

Parameters

  • lattice: A lattice that is stored inside the model