ClassicalSpinMonteCarlo

Documentation for ClassicalSpinMonteCarlo.

ClassicalSpinMonteCarlo.addInteraction!Method

Adds an interaction between spin1 located at basis site b1 of the given unitcell and spin2 at basis site b2 in a unit cell that is offset by offset lattice vectors. The exchange energy is calculated as spin1'.M.spin2.

source
RecipesBase.apply_recipeMethod
@recipe plot(lattice::Lattice{D}; spinscale=0.5) where {D}

Define the recipe for the visualization of a lattice and the spin configuration.

source