


generates all equivalent couplings, using space group symmetry
[genCp ugenCp] = SW_GENSYMCOUPLING(obj, coupling, sym, {tol})
Input:
obj sw class object.
coupling Vector, contains the original coupling. Dimensions are [5 1].
Elements are [dlx dly dlz atom1 atom2 idx dist].
sym Cell, that contains the rotation and translation operators of
the space group: {rotOp, trOp}.
tol Tolerance, optional. Default value is 1e-5.
Output:
genCp Matrix, each column contains a coupling, the meaning of each
row are the same as the input coupling variable.
ugenCp Logical variable, true if the coupling is unique in the list of
generated couplings.