- Added reflection generation for symmetriqally missing reflections

to fourmess
- Fixed hdbtable, reflist and tasub up to work with GTSE
- Made TRICS do fast scans again
- Added support for SANS beam center calculations
- Fixed a bug where SICS apparently did double counting but in fact
  just omitted an error message and did not
- Added the harray command
This commit is contained in:
koennecke
2009-08-13 07:28:44 +00:00
parent eb5025ab3b
commit 98009be4c3
22 changed files with 653 additions and 80 deletions

55
tasub.h
View File

@ -15,40 +15,41 @@
#include "motor.h"
/*------------------- defines for tasMode -----------------------------------*/
typedef struct {
pObjectDescriptor pDes;
tasMachine machine;
int reflectionList;
lattice cell;
tasQEPosition target;
tasQEPosition current;
int tasMode;
int outOfPlaneAllowed;
double targetEn, actualEn;
int mustRecalculate;
int mustDrive;
pMotor motors[12];
tasReflection r1, r2;
int ubValid;
int silent;
} tasUB, *ptasUB;
typedef struct{
pObjectDescriptor pDes;
tasMachine machine;
int reflectionList;
lattice cell;
tasQEPosition target;
tasQEPosition current;
int tasMode;
int outOfPlaneAllowed;
double targetEn, actualEn;
int mustRecalculate;
int mustDrive;
pMotor motors[12];
tasReflection r1, r2;
int ubValid;
int silent;
char *updater;
}tasUB, *ptasUB;
/*--------------------- the tas virtual motor data structure ---------------------*/
typedef struct {
pObjectDescriptor pDes;
pIDrivable pDriv;
ptasUB math;
int code;
} tasMot, *ptasMot;
pObjectDescriptor pDes;
pIDrivable pDriv;
ptasUB math;
int code;
}tasMot, *ptasMot;
/*--------------------------------------------------------------------*/
int TasUBFactory(SConnection * pCon, SicsInterp * pSics, void *pData,
int argc, char *argv[]);
int TasUBWrapper(SConnection * pCon, SicsInterp * pSics, void *pData,
int argc, char *argv[]);
int TasUBFactory(SConnection *pCon,SicsInterp *pSics, void *pData,
int argc, char *argv[]);
int TasUBWrapper(SConnection *pCon,SicsInterp *pSics, void *pData,
int argc, char *argv[]);
int findReflection(int list, int idx, ptasReflection r);
#endif
#endif