Re: Re: AMBER: Question about sander code

From: David A. Case <case.scripps.edu>
Date: Fri, 20 Oct 2006 14:47:50 -0700

On Sat, Oct 21, 2006, Kijeong Kwac wrote:

> Thank you very much for the reply. But I'm still confused.
> When only 3rd atom index is negative, idumi = -1 and iduml = 1
> so that kdiv=(2+idumi+iduml)/4 = (2 -1 +1)/4 = 1/2. Thus "kdiv" is not zero.

This is integer arithmetic: (2 -1 +1)/4 = 0.

...dac

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Sun Oct 22 2006 - 06:07:30 PDT
Custom Search