Skip to content

Commit

Permalink
allocate runtime components
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSinn committed Feb 22, 2024
1 parent 63f76f3 commit 718659d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/particles/beam/BeamParticleContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ BeamParticleContainer::ReadParameters ()
if (m_do_spin_tracking) {
getWithParserAlt(pp, "initial_spin", m_initial_spin, pp_alt);
queryWithParserAlt(pp, "spin_anom", m_spin_anom, pp_alt);
for (auto& beam_tile : m_slices) {
// Use 3 real and 0 int runtime components
beam_tile.define(3, 0);
}
}
}

Expand Down

0 comments on commit 718659d

Please sign in to comment.