ClassicalSpinMonteCarlo
Documentation for ClassicalSpinMonteCarlo.
ClassicalSpinMonteCarlo.addInteraction!
— MethodAdds 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.
ClassicalSpinMonteCarlo.field
— MethodlocalH(lattice::Lattice{D}, site::Int)::NTuple{3, Float64} where {D}
only for no on-site interaction. e.g., Js_is_i
RecipesBase.apply_recipe
— Method@recipe plot(lattice::Lattice{D}; spinscale=0.5) where {D}
Define the recipe for the visualization of a lattice and the spin configuration.