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 += 2*cos(H*x+K*y+L*z);
58 __VFN_GEOM_STRUCT_FACTOR_POINTERS_END
70 #undef __VFN_GEOM_STRUCT_FACTOR_POINTERS_INIT
71 #undef __VFN_GEOM_STRUCT_FACTOR_POINTERS_END
73 #undef __VFN_GEOM_STRUCT_FACTOR_USE_POINTERS
The namespace which includes all objects (crystallographic and algorithmic) in ObjCryst++.
void RealGeomStructFactor_2(const REAL x, const REAL y, const REAL z, const CrystVector_REAL &h, const CrystVector_REAL &k, const CrystVector_REAL &l, CrystVector_REAL &rsf)