Develop and Download Open Source Software

Browse Subversion Repository

Diff of /BLDConograph_ver1/trunk/src/lattice_symmetry/lattice_symmetry.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 31 by rtomiyasu, Fri Feb 21 01:47:53 2014 UTC revision 32 by rtomiyasu, Sat Aug 6 01:34:09 2016 UTC
# Line 57  inline bool operator<(const NRMat<Int4>& Line 57  inline bool operator<(const NRMat<Int4>&
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

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26