[lammps-users] If statement

Hi,

Is it possible to check two conditions in the same if statement?
For example, if $a > 0.9 and $a < 0.99 then …?

Pooja

nope - the if statement syntax isn't that sophisticated.

Steve

I just added an enhancement to the if command,
that allows for arbitrary Boolean tests like the
one you list below. See the 19Nov10 patch,
and see if it does what you want.

Steve