19 #include "ObjCryst/CrystVector/CrystVector.h"
20 #ifdef __VFN_GEOM_STRUCT_FACTOR_USE_POINTERS
27 #define __VFN_GEOM_STRUCT_FACTOR_POINTERS_INIT const REAL *h,*k,*l; REAL*sf;\
28 h=hh.data();k=kk.data();l=ll.data();sf=sfsf.data(); for(long i=0;i<hh.numElements();i++){
29 #define __VFN_GEOM_STRUCT_FACTOR_POINTERS_END h++ ; k++ ; l++ ; sf++; };
38 #define __VFN_GEOM_STRUCT_FACTOR_POINTERS_INIT
39 #define __VFN_GEOM_STRUCT_FACTOR_POINTERS_END
49 const CrystVector_REAL&hh,
50 const CrystVector_REAL&kk,
51 const CrystVector_REAL&ll,
52 CrystVector_REAL& sfsf)
54 __VFN_GEOM_STRUCT_FACTOR_POINTERS_INIT
56 SF += cos(H*x+K*y+L*z);
58 __VFN_GEOM_STRUCT_FACTOR_POINTERS_END
66 const CrystVector_REAL&hh,
67 const CrystVector_REAL&kk,
68 const CrystVector_REAL&ll,
69 CrystVector_REAL& sfsf)
71 __VFN_GEOM_STRUCT_FACTOR_POINTERS_INIT
73 SF += sin(H*x+K*y+L*z);
75 __VFN_GEOM_STRUCT_FACTOR_POINTERS_END
89 #undef __VFN_GEOM_STRUCT_FACTOR_POINTERS_INIT
90 #undef __VFN_GEOM_STRUCT_FACTOR_POINTERS_END
92 #undef __VFN_GEOM_STRUCT_FACTOR_USE_POINTERS
void ImagGeomStructFactor_1(const REAL x, const REAL y, const REAL z, const CrystVector_REAL &h, const CrystVector_REAL &k, const CrystVector_REAL &l, CrystVector_REAL &isf)
void RealGeomStructFactor_1(const REAL x, const REAL y, const REAL z, const CrystVector_REAL &h, const CrystVector_REAL &k, const CrystVector_REAL &l, CrystVector_REAL &rsf)
The namespace which includes all objects (crystallographic and algorithmic) in ObjCryst++.