FOX/ObjCryst++  1.10.X (development)
geomStructFactor.cpp
1 /* ObjCryst++ Object-Oriented Crystallographic Library
2  (c) 2000-2002 Vincent Favre-Nicolin vincefn@users.sourceforge.net
3  2000-2001 University of Geneva (Switzerland)
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program; if not, write to the Free Software
17  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19 //:NOTE: It may be a good idea to use a static array to compute the structure
20 //factor, so that less time be spent in the construction of the array.
21 //For example by using mutable member (assuming h,k and l's are always CrystVector_REAL),
22 //:NOTE: Or the result could be returned in an array given as a parameter
23 
24 //NOTA BENE : normally, the formatting of the equations is the same as in
25 //the Int. Tables for X-Ray Crystallography (1969) : one line of equation
26 //should correspond to one line in the table, for easier check.
27 
28 #include "ObjCryst/CrystVector/CrystVector.h"
29 
30 namespace ObjCryst
31 {
32 
33 
34 void RealGeomStructFactor (const REAL x,
35  const REAL y,
36  const REAL z,
37  const CrystVector_REAL&h,
38  const CrystVector_REAL&k,
39  const CrystVector_REAL&l,
40  CrystVector_REAL& rsf)
41 {
42 };
43 
44 void ImagGeomStructFactor (const REAL x,
45  const REAL y,
46  const REAL z,
47  const CrystVector_REAL&h,
48  const CrystVector_REAL&k,
49  const CrystVector_REAL&l,
50  CrystVector_REAL& isf)
51 {
52 };
53 
54 }//namespace
void ImagGeomStructFactor(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(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++.
Definition: Atom.cpp:47