Page 1 of 1

“watch” element the Charge parameter is scaled if using Fraction

Posted: 22 Jul 2016, 16:09
by ding
Hi Michael,
For the WATCH element, if I define the Fraction=0.1, the Charge parameter in the dumped file will be scaled by the Fraction. this is not correct. For example, with 10 M particles, 100pC, I only want to dump 1M particles, but the parameter Charge value in the files should be still 100pC, not scaled to 10 pC.
The 2014 version was okay. but in the 2016 version we see this problem. Maybe I didn't use it correctly in the new version?
thanks,
Yuantao

Re: “watch” element the Charge parameter is scaled if using Fraction

Posted: 22 Jul 2016, 16:19
by michael_borland
Yuantao,

Thanks for reporting this. It sounds like a bug.

Is this for Pelegant or elegant, or both?

--Michael

Re: “watch” element the Charge parameter is scaled if using Fraction

Posted: 22 Jul 2016, 16:21
by ding
it seems both in elegant and Pelegant during my tests.
Yuantao

Re: “watch” element the Charge parameter is scaled if using Fraction

Posted: 22 Jul 2016, 16:23
by michael_borland
Yuantao,

Thanks. I'll look into it and provide a fix for the next release.

--Michael