UCLA-Plasma-Simulation-Group / QuickPIC-OpenSource

Open source repository for QuickPIC
Other
71 stars 46 forks source link

Merged Viktor's updates. #37

Closed lifei07 closed 3 years ago

lifei07 commented 3 years ago

In part2d_lib77.f, PPPCHECK2L is modified to return the particle number in addition to the tile number of a particle that was not in the correct tile. This allows one to examine the particle coordinates of the failed particle. If more than one particle failed, only the last one is reported.

In part2d_class.f03, in init_part2d and pmove, the x,y coordinates of a failed particle are printed out and add it to the ELOG file when a failure occurs. In init_part2d, the initial class members ntmaxp and npbmx are added by 1, to avoid possible unallocated arrays in pmove if xtras = 0.

vdecyk commented 3 years ago

Thank you very much.

viktor

On Mar 12, 2021, at 12:47 PM, Fei Li @.***> wrote:

Merged #37 https://github.com/UCLA-Plasma-Simulation-Group/QuickPIC-OpenSource/pull/37 into dev.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/UCLA-Plasma-Simulation-Group/QuickPIC-OpenSource/pull/37#event-4452572681, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACRRZUSVA4AJDOYRY7XR6MTTDJVWPANCNFSM4ZC52UZA.