Page 1 of 1

about chgdiff.pl

Posted: Wed Dec 21, 2011 4:46 am
by lgxyz
When using chgdiff.pl CHGCAR1 CHGCAR2, we want CHGCAR1-CHGCAR2, but I note in the code that is CHGCAR2-CHGCAR1. Is this a proplem? Pls give some suggestion. Thanks!

Re: about chgdiff.pl

Posted: Wed Dec 21, 2011 5:13 pm
by graeme
Can't you just run chgdiff.pl CHGCAR2 CHGCAR1 ?

Re: about chgdiff.pl

Posted: Thu Dec 22, 2011 2:53 am
by lgxyz
Ok! But I means that many people want to use chgdiff.pl CHGCAR1 CHGCAR2, giving the result of CHGCAR1-CHGCAR2. In fact they will get CHGCAR2-CHGCAR1. Pls note this when one uses chgdiff.pl.