Changeset 4157


Ignore:
Timestamp:
Sep 20, 2019 2:45:35 PM (2 years ago)
Author:
vondreele
Message:

fix symmetry constraints for 2(x), 2(y), 2(z) mag. modulations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIspc.py

    r4156 r4157  
    29152915                    if dT:
    29162916                        if '(x)' in siteSym:
    2917                             CSI[1][3:] = [-dT,0.,0.],[1./dT,0.,0.],[1./dT,0.,0.]
     2917                            CSI[1][3:] = [1./dT,0.,0.],[-dT,0.,0.],[-dT,0.,0.]
    29182918                            if 'm' in siteSym and len(SdIndx) == 1:
    29192919                                CSI[1][3:] = [1./dT,0.,0.],[-dT,0.,0.],[-dT,0.,0.]
    29202920                        elif '(y)' in siteSym:
    2921                             CSI[1][3:] = [1./dT,0.,0.],[-dT,0.,0.],[1./dT,0.,0.]
     2921                            CSI[1][3:] = [-dT,0.,0.],[1./dT,0.,0.],[-dT,0.,0.]
    29222922                            if 'm' in siteSym and len(SdIndx) == 1:
    29232923                                CSI[1][3:] = [-dT,0.,0.],[1./dT,0.,0.],[-dT,0.,0.]
    29242924                        elif '(z)' in siteSym:
    2925                             CSI[1][3:] = [1./dT,0.,0.],[1./dT,0.,0.],[-dT,0.,0.]
     2925                            CSI[1][3:] = [-dT,0.,0.],[-dT,0.,0.],[1./dT,0.,0.]
    29262926                            if 'm' in siteSym and len(SdIndx) == 1:
    29272927                                CSI[1][3:] = [-dT,0.,0.],[-dT,0.,0.],[1./dT,0.,0.]
Note: See TracChangeset for help on using the changeset viewer.