Home > Applications > SpinW > m_files > sw_gensymcoupling.m

iFit/sw_gensymcoupling

PURPOSE ^

generates all equivalent couplings, using space group symmetry

SYNOPSIS ^

function [genCp, ugenCp] = sw_gensymcoupling(obj, coupling, sym, tol, fitmode)

DESCRIPTION ^

 generates all equivalent couplings, using space group symmetry

 [genCp ugenCp] = SW_GENSYMCOUPLING(obj, coupling, sym, {tol})

 Input:

 obj       sw class object.
 coupling  Vector, contains the original coupling. Dimensions are [5 1].
           Elements are [dlx dly dlz atom1 atom2 idx dist].
 sym       Cell, that contains the rotation and translation operators of
           the space group: {rotOp, trOp}.
 tol       Tolerance, optional. Default value is 1e-5.

 Output:

 genCp     Matrix, each column contains a coupling, the meaning of each
           row are the same as the input coupling variable.
 ugenCp    Logical variable, true if the coupling is unique in the list of
           generated couplings.

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