• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

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

Commit MetaInfo

Révision90f952f152e173a6d7660efbe79f6bfea0d9aa39 (tree)
l'heure2012-07-03 03:12:39
AuteurMikiya Fujii <mikiya.fujii@gmai...>
CommiterMikiya Fujii

Message de Log

vdw correction in Mndo::CalcHessianSCF is implemented. #28554

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

Change Summary

Modification

--- a/src/mndo/Mndo.cpp
+++ b/src/mndo/Mndo.cpp
@@ -1834,6 +1834,14 @@ void Mndo::CalcHessianSCF(double** hessianSCF) const{
18341834 atomCIndex,
18351835 static_cast<CartesianType>(axisA),
18361836 static_cast<CartesianType>(axisA2));
1837+
1838+ // second derivative of van der waals corrections
1839+ if(Parameters::GetInstance()->RequiresVdWSCF()){
1840+ hessianSCF[k][l] += this->GetDiatomVdWCorrectionSecondDerivative(atomAIndex,
1841+ atomCIndex,
1842+ static_cast<CartesianType>(axisA),
1843+ static_cast<CartesianType>(axisA2));
1844+ }
18371845 }
18381846 }
18391847
@@ -1847,6 +1855,13 @@ void Mndo::CalcHessianSCF(double** hessianSCF) const{
18471855 atomBIndex,
18481856 static_cast<CartesianType>(axisA),
18491857 static_cast<CartesianType>(axisB));
1858+ // second derivative of van der waals corrections
1859+ if(Parameters::GetInstance()->RequiresVdWSCF()){
1860+ hessianSCF[k][l] -= this->GetDiatomVdWCorrectionSecondDerivative(atomAIndex,
1861+ atomBIndex,
1862+ static_cast<CartesianType>(axisA),
1863+ static_cast<CartesianType>(axisB));
1864+ }
18501865
18511866
18521867 hessianSCF[l][k] = hessianSCF[k][l];