ImpactX
Loading...
Searching...
No Matches
EmittanceInvariants.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: Marco Garten, Chad Mitchell, Axel Huebl
8 * License: BSD-3-Clause-LBNL
9 */
10#ifndef IMPACTX_EMITTANCE_INVARIANTS
11#define IMPACTX_EMITTANCE_INVARIANTS
12
14
15#include <AMReX_REAL.H>
16#include <AMReX_SmallMatrix.H>
17
18#include <string>
19#include <tuple>
20
21
23{
24
41 std::tuple<
42 amrex::ParticleReal,
43 amrex::ParticleReal,
44 amrex::ParticleReal
45 >
47 amrex::SmallMatrix<amrex::ParticleReal, 6, 6, amrex::Order::F, 1> const & Sigma
48 );
49
67 std::tuple<
68 amrex::ParticleReal,
69 amrex::ParticleReal,
70 amrex::ParticleReal
71 >
73 amrex::SmallMatrix<amrex::ParticleReal, 6, 6, amrex::Order::F, 1> const & Sigma
74 );
75
76} // namespace impactx::diagnostics
77
78#endif // IMPACTX_EMITTANCE_INVARIANTS
Definition CovarianceMatrixMath.H:25
std::tuple< amrex::ParticleReal, amrex::ParticleReal, amrex::ParticleReal > Eigenemittances(amrex::SmallMatrix< amrex::ParticleReal, 6, 6, amrex::Order::F, 1 > const &Sigma)
Definition EmittanceInvariants.cpp:95
std::tuple< amrex::ParticleReal, amrex::ParticleReal, amrex::ParticleReal > KineticInvariants(amrex::SmallMatrix< amrex::ParticleReal, 6, 6, amrex::Order::F, 1 > const &Sigma)
Definition EmittanceInvariants.cpp:42