Open BenWibking opened 4 weeks ago
Is there an appropriate C++ API that can be used to read particle data, similar to https://github.com/AMReX-Codes/pyamrex/pull/320?
The use case is to visualize particles with plotfile-viewer: https://github.com/BenWibking/plotfile-viewer.
cc @ax3l
cc @atmyers 😁
Hi @BenWibking,
The code for reading particles is the Restart method of ParticleContainer, implemented here. There's also a test that shows how to use it here.
Restart
ParticleContainer
@atmyers thanks!
Is there an appropriate C++ API that can be used to read particle data, similar to https://github.com/AMReX-Codes/pyamrex/pull/320?
The use case is to visualize particles with plotfile-viewer: https://github.com/BenWibking/plotfile-viewer.