Home > Applications > SpinW > m_files > sw_fsub.m

iFit/sw_fsub

PURPOSE ^

simple graph vertex coloring

SYNOPSIS ^

function cGraph = sw_fsub(conn, ~)

DESCRIPTION ^

 simple graph vertex coloring

 cGraph = SW_FSUB(conn, nExt)

 It creates a simple graph vertex coloring, determines non connected
 sublattices for Monte-Carlo calculation.

 Input:

 conn          Contains edge indices which are connected
               conn(1,idx)-->conn(2,idx), dimensions are [2 nConn].
 nExt          Size of the magnetic unit cell in units of cells.

 Output:

 cGraph        Vector, that assigns every magnetic moment to a sublattice.

 See also SW.ANNEAL.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 27-Nov-2018 10:56:24 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1