ImpactX
Loading...
Searching...
No Matches
TrackingState.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, Chad Mitchell * License: BSD-3-Clause-LBNL
8 */
9#ifndef IMPACTX_TRACKING_STATE_H
10#define IMPACTX_TRACKING_STATE_H
11
12#include "elements/All.H"
13
14#include <optional>
15
16
17namespace impactx
18{
24 {
30 int m_step = 0;
31
33 int m_period = 0;
34
36 std::optional<elements::KnownElements*> m_element;
37
38 void set_no_element () { m_element = std::nullopt; }
39 };
40
41} // namespace impactx
42
43#endif // IMPACT_X_H
Definition CovarianceMatrixMath.H:25
Definition TrackingState.H:24
std::optional< elements::KnownElements * > m_element
Definition TrackingState.H:36
void set_no_element()
Definition TrackingState.H:38
int m_step
Definition TrackingState.H:30
int m_period
Definition TrackingState.H:33