add_spin

Model.add_spin(spin)

Add spin to the model.

Raises:

SimphonyError – If static Hamiltonian is already calculated.