Added the generation of incomensurate reflections for 0,0,0 in fourmess
Applied Douglas task deletion patch Fixed a bug with repeated motor failures in interface.c
This commit is contained in:
15
fourmess.c
15
fourmess.c
@ -811,6 +811,21 @@ static int GenInconsumerate(pSICSOBJ self, SConnection * pCon,
|
||||
SCPrintf(pCon,eLog, "%d of %d input reflections processed", i, startCount);
|
||||
}
|
||||
}
|
||||
/*
|
||||
add satellites of 0,0,0,
|
||||
*/
|
||||
for(i = 0; i < 3; i++){
|
||||
hkl[i] = 0. + qvec[i];
|
||||
}
|
||||
AddRefIdx(priv->messList, hkl);
|
||||
iGen++;
|
||||
for(i = 0; i < 3; i++){
|
||||
hkl[i] = 0. - qvec[i];
|
||||
}
|
||||
if(FindHKL(priv->messList, hkl[0], hkl[1], hkl[2]) == NULL){
|
||||
AddRefIdx(priv->messList, hkl);
|
||||
iGen++;
|
||||
}
|
||||
SCPrintf(pCon, eValue,
|
||||
"%d additional inconsumerate reflections generated", iGen);
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user