Changeset 3097 for trunk/GSASIIspc.py


Ignore:
Timestamp:
Sep 24, 2017 8:02:10 PM (4 years ago)
Author:
vondreele
Message:

fix origin shift transformation & vec,matrix, vec transformations; now works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIspc.py

    r2875 r3097  
    29122912        'F m -3 m','F m -3 c','F d -3 m','F d -3 c',
    29132913        'I m -3 m','I a -3 d',]                                       #195-230
    2914 
     2914spg2origins = {}
     2915''' A dictionary of all spacegroups that have 2nd settings; the value is the
     29161st --> 2nd setting transformation vector as X(2nd) = X(1st)-V, nonstandard ones are included.
     2917'''
     2918spg2origins = {
     2919        'P n n n':[-.25,-.25,-.25],
     2920        'P b a n':[-.25,-.25,0],'P n c b':[0,-.25,-.25],'P c n a':[-.25,0,-.25],
     2921        'P m m n':[-.25,-.25,0],'P n m m':[0,-.25,-.25],'P m n m':[-.25,0,-.25],
     2922        'C c c a':[0,-.25,-.25],'C c c b':[-.25,0,-.25],'A b a a':[-.25,0,-.25],
     2923        'A c a a':[-.25,-.25,0],'B b c b':[-.25,-.25,0],'B b a b':[0,-.25,-.25],
     2924        'F d d d':[-.125,-.125,-.125],
     2925        'P 4/n':[-.25,-.25,0],'P 42/n':[-.25,-.25,-.25],'I 41/a':[0,-.25,-.125],
     2926        'P 4/n b m':[-.25,-.25,0],'P 4/n n c':[-.25,-.25,-.25],'P 4/n m m':[-.25,-.25,0],'P 4/n c c':[-.25,-.25,0],
     2927        'P 42/n b c':[-.25,-.25,-.25],'P 42/n n m':[-.25,.25,-.25],'P 42/n m c':[-.25,.25,-.25],'P 42/n c m':[-.25,.25,-.25],
     2928        'I 41/a m d':[0,.25,-.125],'I 41/a c d':[0,.25,-.125],
     2929        'p n -3':[-.25,-.25,-.25],'F d -3':[-.125,-.125,-.125],'P n -3 n':[-.25,-.25,-.25],
     2930        'P n -3 m':[-.25,-.25,-.25],'F d -3 m':[-.125,-.125,-.125],'F d -3 c':[-.375,-.375,-.375],
     2931        'p n 3':[-.25,-.25,-.25],'F d 3':[-.125,-.125,-.125],'P n 3 n':[-.25,-.25,-.25],
     2932        'P n 3 m':[-.25,-.25,-.25],'F d 3 m':[-.125,-.125,-.125],'F d - c':[-.375,-.375,-.375]}
    29152933spglist = {}
    29162934'''A dictionary of space groups as ordered and named in the pre-2002 International
     
    30013019        'F -4 3 c','F m -3 m','F m 3 m','F m -3 c','F d -3 m','F d -3 c',),
    30023020}
    3003 
    3004 spg2origins = {}
    3005 ''' A dictionary of all space groups with two alternative origin settings.
    3006 each entry is symbol: atom transpation vector for setting #1 --> setting #2
    3007 '''
    3008 spg2origins = {"P n n n":[-.25,-.25,-.25],"P b a n":[-.25,-.25 ,0],     
    3009     "P n c b":[0,-.25,-.25],"P c n a":[-.25,0,-.25],"P m m n":[-.25,-.25 ,0],       
    3010     "P n m m":[0,-.25,-.25],"P m n m":[-.25,0,-.25],"C c c a":[0,-.25,-.25],         
    3011     "C c c b":[-.25,0,-.25],"A b a a":[-.25,0,-.25],"A c a a":[-.25,-.25,0],       
    3012     "B b c b":[-.25,-.25,0],"B b a b":[0,-.25,-.25],"F d d d":[.125,.125,.125],     
    3013     "P 4/n":[.25,-.2, 0],"P 42/n":[.25,.25,.25],"I 41/a":[0,.25,.125],         
    3014     "P 4/n b m":[.25,.25,0],"P 4/n n c":[.25,.25,.25],"P 4/n m m":[.25,-.25,0],         
    3015     "P 4/n c c":[.25,-.25,0],"P 42/n b c":[.25,-.25,.25],"P 42/n n m":[.25,-.25,.25],       
    3016     "P 42/n m c":[.25,-.25,.25],"P 42/n c m":[.25,-.25,.25],       
    3017     "I 41/a m d":[0,-.25,.125],"I 41/a c d":[0,-.25,.125],       
    3018     "P n 3":[.25,.25,.25],"F d 3":[.125,.125,.125],"P n 3 n":[.25,.25,.25],               
    3019     "P n 3 m":[.25,.25,.25],"F d 3 m":[.125,.125,.125],"F d 3 c":[.375,.375,.375],           
    3020     "P n -3":[.25,.25,.25],"F d -3":[.125,.125,.125],"P n -3 n":[.25,.25,.25],               
    3021     "P n -3 m":[.25,.25,.25],"F d -3 m":[.125,.125,.125],"F d -3 c":[.375,.375,.375]}           
    30223021
    30233022ssdict = {}
Note: See TracChangeset for help on using the changeset viewer.