Changeset 4489 for trunk/GSASIIspc.py
- Timestamp:
- Jun 16, 2020 10:23:33 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIspc.py
r4488 r4489 3567 3567 return newX 3568 3568 3569 def ApplyStringOpsMom(A,SGData, Mom):3569 def ApplyStringOpsMom(A,SGData,SSGData,Mom): 3570 3570 '''Applies string operations to modulated magnetic moment components used in drawing 3571 3571 ''' … … 3584 3584 M,T = SGOps[nA] 3585 3585 newMom = np.inner(Mom,M).T*SGData['MagMom'][NA+nC] 3586 if SSGData is not None: 3587 if SSGData['SSGCen'][iAx//100][3]: #flip spin for BNS centered atoms 3588 newMom *= -1. 3586 3589 return newMom 3587 3590
Note: See TracChangeset
for help on using the changeset viewer.