FOX/ObjCryst++  1.10.X (development)
test.h
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; version 2 of the License.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program; if not, write to the Free Software
16  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 */
18 /* test.h
19 * header file for test functions (speed, etc...)
20 *
21 */
22 #ifndef _OBJCRYST_TEST_H_
23 #define _OBJCRYST_TEST_H_
24 
25 #include "ObjCryst/ObjCryst/General.h"
26 
27 namespace ObjCryst
28 {
34 {
36  unsigned int mNbAtom;
40  string mSpacegroup;
44  unsigned long mNbReflections;
46  unsigned int mDataType;
48  REAL mBogoMRAPS;
53  REAL mBogoSPS;
54 };
55 
66 SpeedTestReport SpeedTest(const unsigned int nbAtom, const int nbAtomType,const string spacegroup,
67  const RadiationType radiation, const unsigned long nbReflections,
68  const unsigned int dataType,const REAL time);
69 
70 }
71 #endif
unsigned int mDataType
dataType: 0= single crystal, 1= powder pattern (1 background + 1 crystal phase)
Definition: test.h:46
REAL mBogoMRAPS
Million of Reflections-Atoms computed Per Second (considering all atoms in the unit cell) ...
Definition: test.h:48
RadiationType mRadiation
The type of radiation used.
Definition: test.h:42
unsigned int mNbAtom
Total number of unique atoms in the test structure.
Definition: test.h:36
unsigned long mNbReflections
The total number of reflections used for the tests.
Definition: test.h:44
REAL mBogoMRAPS_reduced
Million of Reflections-Atoms computed Per Second (considering all atoms in the unit cell...
Definition: test.h:51
string mSpacegroup
The symbol for the spacegroup.
Definition: test.h:40
REAL mBogoSPS
Number of Structures evaluated Per Second.
Definition: test.h:53
Structure to hold the results of a speedtest (see ObjCryst::SpeedTest())
Definition: test.h:33
int mNbAtomType
Total number of atom types in the test structure.
Definition: test.h:38
SpeedTestReport SpeedTest(const unsigned int nbAtom, const int nbAtomType, const string spacegroup, const RadiationType radiation, const unsigned long nbReflections, const unsigned int dataType, const REAL time)
Definition: test.cpp:35
The namespace which includes all objects (crystallographic and algorithmic) in ObjCryst++.
Definition: Atom.cpp:47
RadiationType
Type of radiation used.
Definition: General.h:94