openPMD / openPMD-standard

:notebook: Open Standard for Particle-Mesh Data
http://www.openPMD.org
Creative Commons Attribution 4.0 International
79 stars 29 forks source link

Base: Correlate Mesh & Particle Groups #243

Closed ax3l closed 3 years ago

ax3l commented 3 years ago

Description

This allows to add an optional attribute to particle groups and mesh records to cross-correlate projections and probes.

Implements issue: #238

Affected Components

Logic Changes

TODO: (write this)

Writer Changes

None

Reader Changes

TODO: (write this)

What would a reader need to change? Link implementation examples!

Data Updater

None

ax3l commented 3 years ago

That's a good point. I think we can add a note for implementers to clarify.

It's still really useful to reference a particle group name for meshes like <species>_chargeDensity, even if the particle output is disabled for an openPMD series.

AngelFP commented 3 years ago

Looks good, thanks a lot!

It's still really useful to reference a particle group name for meshes like <species>_chargeDensity, even if the particle output is disabled for an openPMD series.

That's also a nice convention. I'll keep it in mind for when I have to implement it in Wake-T.