• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

コミットメタ情報

リビジョン8b6e55889e526a1ad3d486d9f69df222437c9880 (tree)
日時2013-07-17 02:01:10
作者Mikiya Fujii <mikiya.fujii@gmai...>
コミッターMikiya Fujii

ログメッセージ

Small methods in Cndo2-class are inlined. #30621

git-svn-id: https://svn.sourceforge.jp/svnroot/molds/trunk@1400 1136aad2-a195-0410-b898-f5ea1d11b9d8

変更サマリ

差分

--- a/src/cndo/Cndo2.cpp
+++ b/src/cndo/Cndo2.cpp
@@ -326,22 +326,6 @@ void Cndo2::CheckEnableAtomType(const Molecule& molecule) const{
326326 }
327327 }
328328
329-double const* const* Cndo2::GetFockMatrix() const{
330- return this->fockMatrix;
331-}
332-
333-double const* Cndo2::GetEnergiesMO() const{
334- return this->energiesMO;
335-}
336-
337-double const* const* Cndo2::GetMatrixCIS() const{
338- return this->matrixCIS;
339-}
340-
341-double const* Cndo2::GetExcitedEnergies() const{
342- return this->excitedEnergies;
343-}
344-
345329 void Cndo2::CalcCoreRepulsionEnergy(){
346330 double energy = 0.0;
347331 for(int i=0; i<this->molecule->GetNumberAtoms(); i++){
--- a/src/cndo/Cndo2.h
+++ b/src/cndo/Cndo2.h
@@ -31,12 +31,12 @@ public:
3131 virtual void SetMolecule(MolDS_base::Molecule* molecule);
3232 void DoSCF(bool requiresGuess=true);
3333 virtual void OutputSCFResults() const;
34- double const* const* GetFockMatrix() const;
35- double const* GetEnergiesMO() const;
34+ double const* const* GetFockMatrix() const{return this->fockMatrix;};
35+ double const* GetEnergiesMO() const{return this->energiesMO;};
3636 virtual void DoCIS();
3737 virtual void OutputCISResults() const;
38- double const* const* GetMatrixCIS() const;
39- double const* GetExcitedEnergies() const;
38+ double const* const* GetMatrixCIS() const{return this->matrixCIS;};
39+ double const* GetExcitedEnergies() const{return this->excitedEnergies;};
4040 double** GetForce(int elecState);
4141 double*** GetForce(const std::vector<int>& elecStates);
4242 double GetElectronicEnergy(int elecState) const;