• R/O
  • HTTP
  • SSH
  • HTTPS

Molby: コミット

Molecular Modeling Software


コミットメタ情報

リビジョン067d4fcd96cfc64b4bc540f595b6225bcd6de499 (tree)
日時2014-03-24 19:49:29
作者toshinagata1964 <toshinagata1964@a2be...>
コミッターtoshinagata1964

ログメッセージ

VdW exclusion regarding pi-anchors is slightly changed.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/molby/trunk@497 a2be9bc6-48de-4e38-9406-05402d4bc13c

変更サマリ

差分

--- a/MolLib/MD/MDCore.c
+++ b/MolLib/MD/MDCore.c
@@ -297,6 +297,7 @@ s_check_bonded(Molecule *mol, Int idx, Int *results, AtomConnect *anchor_rev)
297297 *ip++ = n;
298298 *ip = -1;
299299 }
300+#if 0
300301 /* n is an anchor, then connected to the n's parents */
301302 api = ATOM_AT_INDEX(mol->atoms, n);
302303 if (api->anchor != NULL) {
@@ -313,6 +314,7 @@ s_check_bonded(Molecule *mol, Int idx, Int *results, AtomConnect *anchor_rev)
313314 }
314315 }
315316 }
317+#endif
316318 }
317319 cp = AtomConnectData(anchor_rev + idx);
318320 for (i = 0; i < anchor_rev[idx].count; i++, cp++) {
@@ -328,6 +330,7 @@ s_check_bonded(Molecule *mol, Int idx, Int *results, AtomConnect *anchor_rev)
328330 *ip++ = n;
329331 *ip = -1;
330332 }
333+#if 0
331334 apn = ATOM_AT_INDEX(mol->atoms, n);
332335 cpi = AtomConnectData(&apn->connect);
333336 for (j = 0; j < apn->connect.count; j++, cpi++) {
@@ -342,6 +345,7 @@ s_check_bonded(Molecule *mol, Int idx, Int *results, AtomConnect *anchor_rev)
342345 *ip = -1;
343346 }
344347 }
348+#endif
345349 }
346350 if (ap->anchor != NULL) {
347351 /* If this is an anchor, then connected to my parents */
旧リポジトリブラウザで表示