sw_fsub#
Syntax#
cgraph = sw_fsub(conn, next)
Description#
cgraph = sw_fsub(conn, next) creates a simple graph vertex coloring,
determines non-connected sublattices for Monte-Carlo calculation.
Input Arguments#
connContains edge indices which are connected
conn(1,idx)-->conn(2,idx)stored in a matrix with dimensions of \([2times n_{conn}]\).nExtSize of the magnetic supercell in a row vector with 3 integers.
Output Arguments#
cGraphVector, that assigns every magnetic moment to a sublattice.