Changeset 5478
- Timestamp:
- Jan 17, 2023 7:31:50 AM (11 months ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIlattice.py
r5475 r5478 2243 2243 Key problem is noncubic RB symmetries in cubic site symmetries & vice versa. 2244 2244 ''' 2245 cubicsigns = {'C(3,1)c':[-1,],'C(4,1)c':[1,1,],'C(6,1)c':[1,-1],'C(6,2)c':[1,-1],'C(7,1)c':[1,-1],'C(8,1)c':[1,1,1],2246 'C(9,1)c':[1,-1],'C(9,2)c':[1,-1],'C(10,1)c':[1,-1,-1],'C(10,2)c':[1,1,-1]}2247 cubicnames = {'C(3,1)c':['C(3,2)',],'C(4,1)c':['C(4,0)','C(4,4)'],'C(6,1)c':['C(6,0)','C(6,4)'],2248 'C(6,2)c':['C(6,2)','C(6,6)'],'C(7,1)c':['C(7,2)','C(7,6)'],'C(8,1)c':['C(8,0)','C(8,4)','C(8,8)'],2249 'C(9,1)c':['C(9,2)','C((9,6)'],'C(9,2)c':['C(9,4)','C(9,8)'],2250 'C(10,1)c':['C(10,0)','C(10,4)','C(10,8)'],'C(10,2)c':['C(10,2)','C(10,6)','C(10,10)']}2245 # cubicsigns = {'C(3,1)c':[-1,],'C(4,1)c':[1,1,],'C(6,1)c':[1,-1],'C(6,2)c':[1,-1],'C(7,1)c':[1,-1],'C(8,1)c':[1,1,1], 2246 # 'C(9,1)c':[1,-1],'C(9,2)c':[1,-1],'C(10,1)c':[1,-1,-1],'C(10,2)c':[1,1,-1]} 2247 # cubicnames = {'C(3,1)c':['C(3,2)',],'C(4,1)c':['C(4,0)','C(4,4)'],'C(6,1)c':['C(6,0)','C(6,4)'], 2248 # 'C(6,2)c':['C(6,2)','C(6,6)'],'C(7,1)c':['C(7,2)','C(7,6)'],'C(8,1)c':['C(8,0)','C(8,4)','C(8,8)'], 2249 # 'C(9,1)c':['C(9,2)','C((9,6)'],'C(9,2)c':['C(9,4)','C(9,8)'], 2250 # 'C(10,1)c':['C(10,0)','C(10,4)','C(10,8)'],'C(10,2)c':['C(10,2)','C(10,6)','C(10,10)']} 2251 2251 newNames = [] 2252 2252 newSgns = [] -
trunk/GSASIIphsGUI.py
r5477 r5478 5998 5998 swapAdd.Bind(wx.EVT_BUTTON,OnAddSwap) 5999 5999 swapBox.Add(swapAdd,0,WACV) 6000 swapBox.Add(wx.StaticText(G2frame.FRMC,label=' Atom swap probabi ities: '),0,WACV)6000 swapBox.Add(wx.StaticText(G2frame.FRMC,label=' Atom swap probabilities: '),0,WACV) 6001 6001 mainSizer.Add(swapBox,0) 6002 6002 if len(RMCPdict['Swaps']): … … 11637 11637 shcSizer = wx.FlexGridSizer(0,9,5,5) 11638 11638 for item in RBObj['SHC'][iSh]: 11639 shcSizer.Add(wx.StaticText(RigidBodies,label= item))11639 shcSizer.Add(wx.StaticText(RigidBodies,label='%2d*%s'%(RBObj['SHC'][iSh][item][1],item))) 11640 11640 shcSizer.Add(G2G.ValidatedTxtCtrl(RigidBodies,RBObj['SHC'][iSh][item],0,nDig=(8,5), 11641 11641 typeHint=float,size=(70,-1),OnLeave=NewSHC)) -
trunk/GSASIIpwd.py
r5474 r5478 2989 2989 fl.write(' > SAVE :: 100000\n') 2990 2990 fl.write(' > UPDATE :: 100000\n') 2991 if len(RMCPdict['Swap']):2992 2993 2994 for swap in RMCPdict['Swap']:2995 2996 2997 2998 2999 3000 2991 if len(RMCPdict['Swaps']): 2992 fl.write('\n') 2993 fl.write('SWAP_MULTI ::\n') 2994 for swap in RMCPdict['Swaps']: 2995 try: 2996 at1 = Atseq.index(swap[0]) 2997 at2 = Atseq.index(swap[1]) 2998 except ValueError: 2999 break 3000 fl.write(' > SWAP_ATOMS :: %d %d %.2f\n'%(at1,at2,swap[2])) 3001 3001 3002 3002 if len(RMCPdict['FxCN']): -
trunk/GSASIIstrIO.py
r5460 r5478 1057 1057 ''' 1058 1058 def PrintSpnRBModel(RBModel): 1059 pFile.write('Spinning RB name: %s no.atoms: %dNo. times used: %d\n'%1060 (RBModel['RBname'],RBModel[' Natoms'],RBModel['useCount']))1059 pFile.write('Spinning RB name: %s atom type: %s, no.atoms: %d, No. times used: %d\n'% 1060 (RBModel['RBname'],RBModel['atType'],RBModel['Natoms'],RBModel['useCount'])) 1061 1061 for i in WriteSpnRBModel(RBModel): 1062 1062 pFile.write(i) … … 1069 1069 1070 1070 def PrintVecRBModel(RBModel): 1071 pFile.write('Vector RB name: %s no.atoms: %d No. times used: %d\n'%1071 pFile.write('Vector RB name: %s no.atoms: %d, No. times used: %d\n'% 1072 1072 (RBModel['RBname'],len(RBModel['rbTypes']),RBModel['useCount'])) 1073 1073 for i in WriteVecRBModel(RBModel): … … 1089 1089 rbVary.append(pid) 1090 1090 if Print: 1091 pFile.write('\ Spinning rigid body model:\n')1091 pFile.write('\nSpinning rigid body model:\n') 1092 1092 PrintSpnRBModel(rigidbodyDict['Spin'][item]) 1093 1093 … … 1315 1315 for item in SHkeys[iBeg:iFin]: 1316 1316 ptlbls += '%12s'%(item) 1317 ptstr += '%9.4f*%2 .0f'%(SHC[item][0],SHC[item][1])1317 ptstr += '%9.4f*%2d'%(SHC[item][0],SHC[item][1]) 1318 1318 ptref += '%12s'%(SHC[item][2]) 1319 1319 pFile.write(ptlbls+'\n')
Note: See TracChangeset
for help on using the changeset viewer.