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:
2016-04-13 09:18:13 +02:00
parent 019dc11131
commit 96114fc803
3 changed files with 32 additions and 9 deletions

View File

@ -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;