Home > Applications > SpinW > m_files > @sw > magtable.m

iFit/magtable

PURPOSE ^

creates tabulated list of all magnetic moments stored in obj

SYNOPSIS ^

function moments = magtable(obj)

DESCRIPTION ^

 creates tabulated list of all magnetic moments stored in obj

 moments = MAGTABLE(obj)

 The function lists the moment directions in the magnetic supercell, whose
 size is defined by the obj.mag_str.N_ext field. The positions of the
 magnetic atoms are in lattice units.

 Input:

 obj       sw class object.

 Output:

 'moments' is struct type data that contains the following fields:
   M           Matrix, where every columndefines a magnetic moment,
               dimensions are [3 nMagExt].
   e1,e2,e3    Unit vectors of the coordinate system used for the spin
               wave calculation, the i-th column contains a normalized
               vector for the i-th moment. e3 is parallel to the magnetic
               moment, e1 and e2 span a right handed orthogonal coordinate
               system.
   R           Matrix, where evry column defines the position of the
               magnetic atom in lattice units.
   atom        Pointer to the magnetic atom in the subfields of
               sw.unit_cell.

 See also SW.GENMAGSTR.

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