Skip to content

Commit

Permalink
openPMD: add software name version (#380)
Browse files Browse the repository at this point in the history
* openPMD: set software + version attributes
  • Loading branch information
s-sajid-ali authored Jun 16, 2023
1 parent e2db1d7 commit 11edb97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/particles/elements/diagnostics/openPMD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

#include "openPMD.H"
#include "ImpactXVersion.H"
#include "particles/ImpactXParticleContainer.H"

#include <ablastr/particles/IndexHandling.H>
Expand Down Expand Up @@ -198,6 +199,7 @@ namespace detail
# endif
, "adios2.engine.usesteps = true"
);
series.setSoftware("ImpactX", IMPACTX_VERSION);
series.setIterationEncoding( series_encoding );
m_series = series;
m_unique_series[m_series_name] = series;
Expand Down

0 comments on commit 11edb97

Please sign in to comment.