ImpactX
Toggle main menu visibility
Loading...
Searching...
No Matches
src
elements
diagnostics
openPMD.H
Go to the documentation of this file.
1
/* Copyright 2022-2026 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
21
namespace
impactx::elements::diagnostics::detail
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
detail::name2openPMD
std::pair< std::string, std::string > name2openPMD(std::string const &fullName)
impactx::elements::diagnostics::detail
Definition
BeamMonitor.cpp:38
Generated by
1.17.0