Changeset 4440 for trunk/GSASIIlattice.py
- Timestamp:
- May 26, 2020 10:44:15 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIlattice.py
r4434 r4440 501 501 XYZ = np.array(atom[cx:cx+3]) 502 502 xyz = XYZ 503 cellj = np.zeros(3,dtype=np.int32) 503 504 if Force: 504 xyz %= 1.505 xyz,cellj = G2spc.MoveToUnitCell(xyz) 505 506 if atom[cia] == 'A': 506 507 Uij = atom[cia+2:cia+8] 507 result = G2spc.GenAtom(xyz,SGData,False,Uij, True)508 result = G2spc.GenAtom(xyz,SGData,False,Uij,Force) 508 509 for item in result: 510 item = list(item) 511 item[2] += cellj 509 512 # if item[0][2] >= .95: item[0][2] -= 1. 510 513 atom[cx:cx+3] = item[0] … … 519 522 atomData.append(atom[:cia+9]) #not SS stuff 520 523 else: 521 result = G2spc.GenAtom(xyz,SGData,False,Move= True)524 result = G2spc.GenAtom(xyz,SGData,False,Move=Force) 522 525 for item in result: 523 if item[0][2] >= .95: item[0][2] -= 1. 526 item = list(item) 527 item[2] += cellj 528 # if item[0][2] >= .95: item[0][2] -= 1. 524 529 atom[cx:cx+3] = item[0] 525 530 if cm:
Note: See TracChangeset
for help on using the changeset viewer.