Changeset 3474 for trunk/GSASIIlattice.py
- Timestamp:
- Jul 16, 2018 4:07:12 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/GSASIIlattice.py ¶
r3406 r3474 393 393 mom = np.inner(np.array(atom[cm:cm+3]),Bmat) 394 394 atom[cm:cm+3] = np.inner(np.inner(mom,M),Amat)*nl.det(M)*SpnFlp[opNum-1] 395 # GSASIIpath.IPyBreak()396 395 atCodes.append('%d:%s'%(iat,str(item[1]))) 397 396 atomData.append(atom[:cia+9]) #not SS stuff … … 423 422 xyz = XYZ[ind] 424 423 for jnd in range(Ind): 425 if ind != jnd and Indx[jnd]: 426 Equiv = G2spc.GenAtom(XYZ[jnd],SGData,Move=True) 427 xyzs = np.array([equiv[0] for equiv in Equiv]) 428 Indx[jnd] = noDuplicate(xyz,xyzs,Amat) 424 if Atoms[ind][ct] == Atoms[jnd][ct]: 425 if ind != jnd and Indx[jnd]: 426 Equiv = G2spc.GenAtom(XYZ[jnd],SGData,Move=True) 427 xyzs = np.array([equiv[0] for equiv in Equiv]) 428 Indx[jnd] = noDuplicate(xyz,xyzs,Amat) 429 429 Ind = [] 430 430 for ind in Indx:
Note: See TracChangeset
for help on using the changeset viewer.