Home > Applications > SpinW > m_files > sw_gensym.m

iFit/sw_gensym

PURPOSE ^

returns symmetry operators of a given space group

SYNOPSIS ^

function [symOp, symTr, symName, symStr, symNum] = sw_gensym(varargin)

DESCRIPTION ^

 returns symmetry operators of a given space group

 [symOp, symTr, symName, symStr, symNum] = SW_GENSYM({sym}) 

 It gives the symmetry elements based on the space group number or given
 list of symmetry operators. Without arguments, returns the name of all
 space groups stored in symmetry.dat file.

 Input:

 sym           Either the label of the space group or the index from
               the International Tables of Crystallography.

 Output:

 symOp         Rotation matrices, dimensions are [3 3 nOp].
 symTr         Translation vectors, dimensions are [3 nOp].
 symName       Name of the space group, stored in cells.
 symStr        The string of the symmetry operations.
 symNum        The index of the symmetry in the symmetry.dat file.

 See also SW_ADDSYM, SW, SW.GENCOUPLING, SW_GENCOORD.

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