|
WarpX
|
#include "DefaultInitialization.H"#include <AMReX_Config.H>#include <AMReX_GpuContainers.H>#include <AMReX_GpuLaunch.H>#include <AMReX_GpuQualifiers.H>#include <AMReX_INT.H>#include <AMReX_ParallelDescriptor.H>#include <AMReX_Particle.H>#include <map>#include <string>#include <vector>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 (std::vector< std::string > const &names) noexcept |
| SmartCopyTag | getSmartCopyTag (std::vector< std::string > const &src, std::vector< std::string > const &dst) noexcept |
| template<typename PTile> | |
| void | setNewParticleIDs (PTile &ptile, amrex::Long old_size, amrex::Long num_added) |
| Sets the ids of newly created particles to the next values. | |
| using NameMap = std::map<std::string, int> |
|
noexcept |
|
noexcept |
| void setNewParticleIDs | ( | PTile & | ptile, |
| amrex::Long | old_size, | ||
| amrex::Long | 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. |