| 1 |
rtomiyasu |
3 |
/* |
| 2 |
|
|
* The MIT License |
| 3 |
|
|
|
| 4 |
rtomiyasu |
25 |
BLDConograph (Bravais lattice determination module in Conograph) |
| 5 |
rtomiyasu |
3 |
|
| 6 |
|
|
Copyright (c) <2012> <Ryoko Oishi-Tomiyasu, KEK> |
| 7 |
|
|
|
| 8 |
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy |
| 9 |
|
|
of this software and associated documentation files (the "Software"), to deal |
| 10 |
|
|
in the Software without restriction, including without limitation the rights |
| 11 |
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 12 |
|
|
copies of the Software, and to permit persons to whom the Software is |
| 13 |
|
|
furnished to do so, subject to the following conditions: |
| 14 |
|
|
|
| 15 |
|
|
The above copyright notice and this permission notice shall be included in |
| 16 |
|
|
all copies or substantial portions of the Software. |
| 17 |
|
|
|
| 18 |
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 19 |
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 20 |
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 21 |
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 22 |
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 23 |
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| 24 |
|
|
THE SOFTWARE. |
| 25 |
|
|
* |
| 26 |
|
|
*/ |
| 27 |
rtomiyasu |
25 |
#ifndef RietveldAnalysisTypes_HH_ |
| 28 |
|
|
#define RietveldAnalysisTypes_HH_ |
| 29 |
rtomiyasu |
3 |
|
| 30 |
|
|
#include<vector> |
| 31 |
|
|
#include<complex> |
| 32 |
|
|
|
| 33 |
|
|
using namespace std; |
| 34 |
|
|
|
| 35 |
|
|
typedef char Char; |
| 36 |
|
|
typedef unsigned char UChar; |
| 37 |
|
|
typedef short Int2; |
| 38 |
|
|
typedef unsigned short UInt2; |
| 39 |
|
|
typedef int Int4; |
| 40 |
|
|
typedef unsigned int UInt4; |
| 41 |
|
|
typedef long long Int8; |
| 42 |
|
|
//typedef unsigned long long UInt8; //Mac OS X define UInt8 (typedef unsigned char) |
| 43 |
|
|
typedef double Double; |
| 44 |
|
|
typedef float Float; |
| 45 |
|
|
|
| 46 |
|
|
typedef vector<double> Vec_DP; |
| 47 |
|
|
typedef vector<int> Vec_INT; |
| 48 |
|
|
typedef vector<char> Vec_CHAR; |
| 49 |
|
|
typedef vector<bool> Vec_BOOL; |
| 50 |
|
|
typedef vector< vector<double> > Mat_DP_iconstr; |
| 51 |
|
|
|
| 52 |
|
|
typedef complex<double> CMPX_DP; |
| 53 |
|
|
|
| 54 |
|
|
typedef vector< vector<double> > each_Vec_DP; |
| 55 |
|
|
typedef vector< vector<Int4> > each_Vec_INT; |
| 56 |
|
|
|
| 57 |
rtomiyasu |
25 |
typedef enum _ConographAnalysisMode { |
| 58 |
|
|
ConographQuickSearch = 0, |
| 59 |
|
|
ConographRegularSearch = 1 |
| 60 |
|
|
} eConographAnalysisMode; |
| 61 |
rtomiyasu |
3 |
|
| 62 |
|
|
#endif /*COMMON_HH_*/ |