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

Moderators: michael_borland, soliday

Post Reply
ding
Posts: 53
Joined: 30 Jul 2008, 12:36

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

Post by ding » 22 Jul 2016, 16:09

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

michael_borland
Posts: 1927
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

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

Post by michael_borland » 22 Jul 2016, 16:19

Yuantao,

Thanks for reporting this. It sounds like a bug.

Is this for Pelegant or elegant, or both?

--Michael

ding
Posts: 53
Joined: 30 Jul 2008, 12:36

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

Post by ding » 22 Jul 2016, 16:21

it seems both in elegant and Pelegant during my tests.
Yuantao

michael_borland
Posts: 1927
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

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

Post by michael_borland » 22 Jul 2016, 16:23

Yuantao,

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

--Michael

Post Reply