File Applications/SpinW/m_files/sw_gencoord.m calculates all symmetry operators for a given space group [symOp, symTr, symName] = SW_GENCOORD(sym, fid) Input: sym Line index in the symmetry.dat file or string of the symmetry operators or cell: {symOp, symTr}. For example: sym = 'P b n m'; fid For printing the symmetry operators: 0 no printed output (Default) 1 standard output (Command Line) fid text file opened before with the fid = fopen(path) Output: symOp The rotational part of the symmetry operators, dimensions are [3 3 nSym]. symTr The translation part of the symmetry operators, dimensions are [3 nSym]. symName String, the name of the space group. See also SW, SW.ATOM, SW.MATOM, SW.GENCOUPLING, SW_POINTSYM, SW_GENATPOS, SW_GENSYM.