Home > Applications > SpinW > m_files > sw_model.m

iFit/sw_model

PURPOSE ^

creates different predefined spin models

SYNOPSIS ^

function obj = sw_model(model, param, fid)

DESCRIPTION ^

 creates different predefined spin models

 obj = SW_MODEL(model, param, {fid}) 

 Input:

 model     String, name of the model, one of the following:
               'triAF'     Triangular lattice Heisenberg antiferromagnet
                           in the ab plane (a=b=3 Angstrom), with gamma =
                           120 deg angle and optimised magnetic structure.
                           Arbitrary number of Heisenberg interaction can
                           be defined, param(1) gives the value of 1st
                           neighbor interaction, param(2) the second etc.
               'squareAF'  Square lattice antiferromagnet.
               'chain'     Chain with further neighbor interactions.

 param     Input parameters of the model, depending on which is selected.
 fid       Where to print the text output. Default is 1 to print to the
           Command Window. Optional.

 Output:

 obj       sw class object with the selected model.

 See also SW.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 26-Nov-2018 15:08:42 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1