|
WarpX
|
#include "DefaultInitialization.H"Go to the source code of this file.
Classes | |
| struct | SmartCopyTag |
Typedefs | |
| using | NameMap = std::map< std::string, int > |
| using | PolicyVec = amrex::Gpu::DeviceVector< InitializationPolicy > |
Functions | |
| PolicyVec | getPolicies (const NameMap &names) noexcept |
| SmartCopyTag | getSmartCopyTag (const NameMap &src, const NameMap &dst) noexcept |
| template<typename PTile > | |
| void | setNewParticleIDs (PTile &ptile, int old_size, int num_added) |
| Sets the ids of newly created particles to the next values. More... | |
| using NameMap = std::map<std::string, int> |
| using PolicyVec = amrex::Gpu::DeviceVector<InitializationPolicy> |
|
noexcept |
| void setNewParticleIDs | ( | PTile & | ptile, |
| int | old_size, | ||
| int | num_added | ||
| ) |
Sets the ids of newly created particles to the next values.
| PTile | the particle tile type |
| ptile | the particle tile |
| old_size | the index of the first new particle |
| num_added | the number of particles to set the ids for. |
1.8.13