Browse Subversion Repository
Diff of /BLDConograph_ver1/trunk/src/lattice_symmetry/lattice_symmetry.cc
Parent Directory
| Revision Log
| Patch
| 57 |
} |
} |
| 58 |
|
|
| 59 |
|
|
|
inline bool equiv_zero(const SymMat<Double>& S, const Int4& i, const Int4& j, const Double& resol) |
|
|
{ |
|
|
// S(i, i) + S(j, j) + |S(i, j)|*2 < (S(i, i) + S(j, j) - |S(i, j)|*2)*(1 + resol). |
|
|
return fabs( S(i,j) )*( 4.0 + resol*2.0) <= resol*(S(i,i) + S(j,j)); |
|
|
} |
|
|
|
|
|
|
|
| 60 |
static void insert_super_obtuse_equiv(const pair< NRMat<Int4>, SymMat<Double> >& S_super, |
static void insert_super_obtuse_equiv(const pair< NRMat<Int4>, SymMat<Double> >& S_super, |
| 61 |
const Double& resol, const Double& Max_totalQ, |
const Double& resol, const Double& Max_totalQ, |
| 62 |
map<NRMat<Int4>, SymMat<Double> >& equivalent_tray) |
map<NRMat<Int4>, SymMat<Double> >& equivalent_tray) |
|
|
Legend:
| Removed from v.31 |
|
| changed lines |
| |
Added in v.32 |
|
|
| |