Routine to initialize the particle creator object from a particle blob prism object Check if particles should be initialized to the local fluid velocity.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(mus_particle_creator_type), | intent(inout) | :: | particle_creator |
Particle creator object |
||
| type(mus_particle_blob_prism_type), | intent(inout) | :: | particleblob |
Particle blob object describing the shape of the initial "blob" of particles |
||
| integer, | intent(in) | :: | Nparticles |
Desired number of particles to fill the ENTIRE blob with (so not just the part of it on this rank, but on all ranks) |
||
| type(mus_scheme_type), | intent(in) | :: | scheme |
Scheme to initialize particles on the lattice |
||
| type(mus_geom_type), | intent(in) | :: | geometry |
Geometry to initialize particles on the lattice |
||
| integer, | intent(in) | :: | myRank |
This process rank |