|
ImpactX
|
Functions | |
| std::list< elements::KnownElements > | insert_element_every_ds (std::list< elements::KnownElements > list, amrex::ParticleReal ds, elements::KnownElements element) |
| std::list< elements::KnownElements > impactx::elements::transformation::insert_element_every_ds | ( | std::list< elements::KnownElements > | list, |
| amrex::ParticleReal | ds, | ||
| elements::KnownElements | element ) |
Insert an element every s into an element list
Splits up every element that is on s = N * ds for N>0.
| [in] | list | element lattice list |
| [in] | ds | spacing in meters along s to add an element |
| [in] | element | the extra element to add every s |