Home > Applications > SpinW > m_files > sw_gencoord.m

iFit/sw_gencoord

PURPOSE ^

calculates all symmetry operators for a given space group

SYNOPSIS ^

function [symOp, symTr, symName] = sw_gencoord(sym, fid)

DESCRIPTION ^

 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.

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