リビジョン | 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
@@ -326,22 +326,6 @@ void Cndo2::CheckEnableAtomType(const Molecule& molecule) const{ | ||
326 | 326 | } |
327 | 327 | } |
328 | 328 | |
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 | - | |
345 | 329 | void Cndo2::CalcCoreRepulsionEnergy(){ |
346 | 330 | double energy = 0.0; |
347 | 331 | for(int i=0; i<this->molecule->GetNumberAtoms(); i++){ |
@@ -31,12 +31,12 @@ public: | ||
31 | 31 | virtual void SetMolecule(MolDS_base::Molecule* molecule); |
32 | 32 | void DoSCF(bool requiresGuess=true); |
33 | 33 | 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;}; | |
36 | 36 | virtual void DoCIS(); |
37 | 37 | 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;}; | |
40 | 40 | double** GetForce(int elecState); |
41 | 41 | double*** GetForce(const std::vector<int>& elecStates); |
42 | 42 | double GetElectronicEnergy(int elecState) const; |