SemiGrandCanonicalPotential#
- class libcasm.monte.ising_cpp.semigrand_canonical.SemiGrandCanonicalPotential(
- self: SemiGrandCanonicalPotential,
- system: IsingSystem,
Bases:
pybind11_objectCalculates the semi-grand canonical energy and changes in energy
Constructor
- Parameters:
system (IsingSystem) – Holds parameterized formation energy and parametric composition calculators, without specifying at a particular state.
Methods
Calculate the change in semi-grand canonical energy (per_supercell) due to changing 1 or more sites
Calculate the change in semi-grand canonical energy (per_supercell) due to an event
Calculates semi-grand canonical energy (per supercell)
per_unitcell(…)Calculates semi-grand canonical energy (per unitcell)
set_state(…)Set the state the potential is calculated for.