ImpactX
Loading...
Searching...
No Matches
openPMD.H
Go to the documentation of this file.
1/* Copyright 2022-2023 The Regents of the University of California, through Lawrence
2 * Berkeley National Laboratory (subject to receipt of any required
3 * approvals from the U.S. Dept. of Energy). All rights reserved.
4 *
5 * This file is part of ImpactX.
6 *
7 * Authors: Axel Huebl
8 * License: BSD-3-Clause-LBNL
9 */
10#ifndef IMPACTX_OPENPMD_H
11#define IMPACTX_OPENPMD_H
12
13#ifdef ImpactX_USE_OPENPMD
14# include <openPMD/openPMD.hpp>
15#endif
16
17#include <string>
18#include <utility>
19
20
22{
23#ifdef ImpactX_USE_OPENPMD
31 std::pair< std::string, std::string >
32 name2openPMD (const std::string& fullName);
33
34
36 openPMD::RecordComponent get_component_record (
37 openPMD::ParticleSpecies & species,
38 std::string comp_name
39 );
40#endif
41} // namespace impactx::elements::diagnostics::detail
42
43#endif // IMPACTX_OPENPMD_H
Definition BeamMonitor.cpp:37