find particle index and ID in particleGroup array
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(mus_particle_group_type), | intent(in) | :: | particleGroup |
Array of particles |
||
| integer, | intent(in) | :: | elemPos |
Index of element for which to find particle in state array |
||
| integer | :: | thisParticleIndex |
Index of particle that was found in particleGroup%particles |
|||
| integer | :: | findParticleIndex | ||||
| integer | :: | particleID |
ID of particle that was found |