Changeset 1481


Ignore:
Timestamp:
Aug 27, 2014 2:47:46 PM (7 years ago)
Author:
toby
Message:

reverse sign for application of Dij values

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIgrid.py

    r1445 r1481  
    43004300                if key[0] not in phaselist: phaselist.append(key[0])
    43014301                akey = key[0]+'::'+Ddict[key[2]]
    4302                 parmDict[akey] += parmDict[item]
     4302                parmDict[akey] -= parmDict[item]
    43034303                delList.append(item)
    43044304        for item in delList:
     
    43514351                    if key[0] not in phaselist: phaselist.append(key[0])
    43524352                    akey = key[0]+'::'+Ddict[key[2]]
    4353                     VparmDict[akey] += VparmDict[item]
     4353                    VparmDict[akey] -= VparmDict[item]
    43544354            for i in phaselist:
    43554355                pId = int(i)
  • trunk/GSASIIstrMath.py

    r1480 r1481  
    890890            key = keys[0]+'::'+Ddict[keys[2]]       #key is e.g. '0::A0'
    891891            parm = keys[0]+'::'+keys[2]             #parm is e.g. '0::D11'
    892             newCellDict[parm] = [key,parmDict[key]+parmDict[item]]
     892            newCellDict[parm] = [key,parmDict[key]-parmDict[item]]
    893893    return newCellDict          # is e.g. {'0::D11':A0+D11}
    894894   
Note: See TracChangeset for help on using the changeset viewer.