Use keywords arguments in getweights

Merged
#149 · Created  · Last updated

Merged pull request

Merged in berkeleylab/atap-warp/correct_getweights (pull request #149)

687c787·Author: ·2017-11-27

Description

The keywords arguments in getweights were not used in the case were top.wpid == 0 (i.e. when macroparticles have uniform weights).

This can result in a major error when e.g. gather=0 is passed to getweights: since this is not used inside the function, the function will return the gathered weights (across all procs) instead.

0 attachments

0 comments

Loading commits...