openPMD/openPMD-api

Particle Species: loadPositions

Open

#666 opened on Jan 24, 2020

 (0 comments) (0 reactions) (0 assignees)C++ (57 forks)auto 404
api: newfeature requestfrontend: C++17frontend: Python3good first issuehelp wanted

Repository metrics

Stars
 (160 stars)
PR merge metrics
 (PR metrics pending)

Description

The openPMD base standard describes the handling of position and positionOffset compositions for particle species.

https://github.com/openPMD/openPMD-standard/blob/1.1.0/STANDARD.md#records-for-each-particle-species

For reading, we should implement this as a convenient member function, to avoid performing this well-defined behavior via multiple loadChunk() calls and additions on the user side.

Contributor guide