Adds Point Particles to list of collisional objects.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(collision_obj), | intent(inout) | :: | this |
Collision utility |
||
| type(particle_set), | intent(in), | target | :: | PP |
Point particles |
impure subroutine collision_obj_AddPointParticles(this,PP) !> Adds Point Particles to list of collisional objects. implicit none class(collision_obj), intent(inout) :: this !! Collision utility type(particle_set), intent(in), & target :: PP !! Point particles if (.not.associated(this%PP)) then this%PP => PP else call this%parallel%Stop("Collision object already contains an PP object") end if return end subroutine collision_obj_AddPointParticles