Add check for presence of atomic relaxation data in PhotonInteraction

This commit is contained in:
Paul Romano 2022-11-29 16:21:47 -06:00
parent a601088e8b
commit b66d9e0a90
3 changed files with 18 additions and 3 deletions

View file

@ -100,6 +100,9 @@ public:
// Bremsstrahlung scaled DCS
xt::xtensor<double, 2> dcs_;
// Whether atomic relaxation data is present
bool has_atomic_relaxation_ {false};
// Constant data
static constexpr int MAX_STACK_SIZE =
7; //!< maximum possible size of atomic relaxation stack