**From:** Maxim Belkin (*mbelkin_at_ks.uiuc.edu*)

**Date:** Fri Mar 25 2016 - 14:12:22 CDT

**Next message:**Chitrak Gupta: "Re: varying two colvar distances simultaneously"**Previous message:**Chitrak Gupta: "Re: varying two colvar distances simultaneously"**Maybe in reply to:**Maxim Belkin: "Re: force units conversion"**Messages sorted by:**[ date ] [ thread ] [ subject ] [ author ] [ attachment ]

No problem — I’m glad your script works now.

Minor note: use "5.0" or "5." instead of "5" — it shouldn’t be a problem in your current script, but it will save you from a hard-to-find errors caused of integer division (e.g: expr 5/10 returns 0, not 0.5, while expr 5.0/10 returns 0.5 as expected).

Maxim

*> On Mar 25, 2016, at 14:04, Olya Kravchenko <ovkrav_at_gmail.com> wrote:
*

*>
*

*> Maxim,
*

*>
*

*> thanks a lot for pointing it out! It is indeed an error that I missed
*

*> that in part led to the discrepancy that I had. It is fully resolved
*

*> now!
*

*>
*

*>
*

*> On Fri, Mar 25, 2016 at 11:42 AM, Maxim Belkin <mbelkin_at_ks.uiuc.edu> wrote:
*

*>> Olya,
*

*>>
*

*>> You conversions seems right. But how can you satisfy the following condition: $z <= 5 && $z >= 55 ?
*

*>> Did you mean || instead of && ?
*

*>>
*

*>> Maxim
*

*>>
*

*>>
*

*>>> On Mar 24, 2016, at 14:15, Olya Kravchenko <ovkrav_at_gmail.com> wrote:
*

*>>>
*

*>>> $z <= 5 && $z >= 55
*

*>>
*

**Next message:**Chitrak Gupta: "Re: varying two colvar distances simultaneously"**Previous message:**Chitrak Gupta: "Re: varying two colvar distances simultaneously"**Maybe in reply to:**Maxim Belkin: "Re: force units conversion"**Messages sorted by:**[ date ] [ thread ] [ subject ] [ author ] [ attachment ]

*
This archive was generated by hypermail 2.1.6
: Tue Dec 27 2016 - 23:21:55 CST
*