aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/__init__.py
diff options
context:
space:
mode:
authorGravatar Roelof Groenewald <40245517+roelof-groenewald@users.noreply.github.com> 2021-07-20 17:55:42 -0700
committerGravatar GitHub <noreply@github.com> 2021-07-20 17:55:42 -0700
commit4fa339e5951df30d06cd6084c5d7e47b7b3fa73c (patch)
treeafa35b3f1ea68273585d5334391fef2c5a25d48d /Python/pywarpx/__init__.py
parentf3ced1388b634eacbd4b1d64bd98be4ab444d6e5 (diff)
downloadWarpX-4fa339e5951df30d06cd6084c5d7e47b7b3fa73c.tar.gz
WarpX-4fa339e5951df30d06cd6084c5d7e47b7b3fa73c.tar.zst
WarpX-4fa339e5951df30d06cd6084c5d7e47b7b3fa73c.zip
Python - add new particle attributes at runtime (#2112)
* exposes AddRealComp to Python to allow extra particle attributes to be added at runtime; also includes a new function to grab a particle data array from the name of the component rather than the index * added function to get index of a particle component given the PID name * changed new get component index and get_particle_arrays_from_comp_name functions to take species name as argument rather than species id * changed warpx_addRealComp to accept a species name as input and only add the new component for that species
Diffstat (limited to 'Python/pywarpx/__init__.py')
0 files changed, 0 insertions, 0 deletions