- Removed -fwritable-string
SKIPPED: psi/dornier2.c psi/ecbdriv.c psi/el734hp.c psi/libpsi.a psi/make_gen psi/makefile_linux psi/pimotor.c psi/pipiezo.c psi/sinqhttp.c psi/tcpdornier.c psi/velodornier.c
This commit is contained in:
19
tasublib.h
19
tasublib.h
@ -14,7 +14,7 @@
|
||||
/*================= error codes =====================================*/
|
||||
#define ENERGYTOBIG -700
|
||||
#define BADSYNC -701 /* mono/analyzer out of sync: 2*theta != two_theta*/
|
||||
#define UBNOMEMORY -702
|
||||
#define UBNOMEMORY -200
|
||||
#define TRIANGLENOTCLOSED -703
|
||||
#define BADRMATRIX -704
|
||||
#define BADUBORQ -705
|
||||
@ -224,5 +224,20 @@ void setTasPar(ptasQEPosition qe, int tasMode, int tasVar, double value);
|
||||
* @return The value of the TAS variable.
|
||||
*/
|
||||
double getTasPar(tasQEPosition qe, int tasVar);
|
||||
|
||||
/**
|
||||
* checks if a QE Position is in the scattering plane as defined by the
|
||||
* planeNormal
|
||||
* @param planeNormal The plane normal of the scattering plane
|
||||
* @param qe The QE position to check
|
||||
* @return 0 when not in plane,1 when in plane
|
||||
*/
|
||||
int isInPlane(MATRIX scatteringPlaneNormal, tasQEPosition qe);
|
||||
/**
|
||||
* calculate the normal of the scattering plane from two reflections
|
||||
* @param qe1 QE Position of first reflection in scattering plane
|
||||
* @param qe2 QE position of second reflection in scattering plane
|
||||
* @return The scattering plane normal
|
||||
*/
|
||||
MATRIX calcScatteringPlaneNormal(tasQEPosition qe1, tasQEPosition qe2);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user