|
WarpX
|
Functions | |
| template<typename PTile, typename DstPC> | |
| void | DefaultInitializeRuntimeAttributes (PTile &ptile, const DstPC &pc, int start, int stop, const int n_external_attr_real=0, const int n_external_attr_int=0, const bool do_qed_comps=false) |
| Default initialize runtime attributes in a tile. This routine does not initialize the first n_external_attr_real real attributes and the first n_external_attr_int integer attributes, which have been in principle externally set elsewhere. | |
| void ParticleCreation::DefaultInitializeRuntimeAttributes | ( | PTile & | ptile, |
| const DstPC & | pc, | ||
| int | start, | ||
| int | stop, | ||
| const int | n_external_attr_real = 0, | ||
| const int | n_external_attr_int = 0, | ||
| const bool | do_qed_comps = false ) |
Default initialize runtime attributes in a tile. This routine does not initialize the first n_external_attr_real real attributes and the first n_external_attr_int integer attributes, which have been in principle externally set elsewhere.
| PTile | The type of the particle tile to operate on (e.g. could use different allocators) |
| DstPC | the destination particle container type |
| [in,out] | ptile | the tile in which attributes are initialized |
| [in] | pc | the destination particle container |
| [in] | do_qed_comps | whether to initialize the qed components (these are usually handled by SmartCopy, but NOT when adding particles in AddNParticles) |
| [in] | start | the index to start initializing particles |
| [in] | stop | the index to stop initializing particles |
| [in] | n_external_attr_real | The number of real attributes that have been externally set. These are NOT initialized by this function. |
| [in] | n_external_attr_int | The number of integer attributes that have been externally set. These are NOT initialized by this function. |