Develop and Download Open Source Software

Browse Subversion Repository

Diff of /Conograph/trunk/src/utility_func/lattice_constant.hh

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

revision 3 by rtomiyasu, Fri Feb 22 04:51:31 2013 UTC revision 25 by rtomiyasu, Mon Jul 7 02:35:51 2014 UTC
# Line 28  THE SOFTWARE. Line 28  THE SOFTWARE.
28  #define _LATTICE_CONSTANT_HH_  #define _LATTICE_CONSTANT_HH_
29    
30  #include"../RietveldAnalysisTypes.hh"  #include"../RietveldAnalysisTypes.hh"
31    #include"../utility_data_structure/SymMat.hh"
32  #include"../utility_data_structure/VecDat3.hh"  #include"../utility_data_structure/VecDat3.hh"
33  #include"../utility_data_structure/SymMatWCovar.hh"  #include"../utility_data_structure/SymMatWCovar.hh"
34    
# Line 53  void calLatticeConstant(const SymMat<Dou Line 54  void calLatticeConstant(const SymMat<Dou
54  // calculate the lattice_constants a, b, c, alpha, beta, gamma(deg) from S(i.e. A*,B*,C*,D*,E*,F*).  // calculate the lattice_constants a, b, c, alpha, beta, gamma(deg) from S(i.e. A*,B*,C*,D*,E*,F*).
55  void calLatticeConstant(const SymMatWCovar&, VecDat3<Double>&, VecDat3<Double>&, SymMat<Double>& LatConst_covar);  void calLatticeConstant(const SymMatWCovar&, VecDat3<Double>&, VecDat3<Double>&, SymMat<Double>& LatConst_covar);
56    
 //// Returns the volume of the co-lattice unit cell from S.  
 //inline Double calCoLatticeUnitCellVolume(const SymMat<Double>& S)  
 //{  
 //      assert( S.size() == 3 );  
 //      return sqrt( S(0,0)*S(1,1)*S(2,2) - S(0,0)*S(1,2)*S(1,2) - S(1,1)*S(0,2)*S(0,2) - S(2,2)*S(0,1)*S(0,1)  
 //                                                                                                                              + 2.0*S(0,1)*S(0,2)*S(1,2) );  
 //}  
 //  
   
57    
58  #endif /*LATTICE_CONSTANT_HH_*/  #endif /*LATTICE_CONSTANT_HH_*/

Legend:
Removed from v.3  
changed lines
  Added in v.25

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