Updates ghost objects in preparation for collisions.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(collision_obj), | intent(inout) | :: | this |
Collision utility |
impure subroutine collision_obj_UpdateGhostObjects(this) !> Updates ghost objects in preparation for collisions. implicit none class(collision_obj), intent(inout) :: this !! Collision utility ! work variables real(wp) :: dist dist = this%cblock%ngc*maxval(this%cblock%dx) if (associated(this%RP)) call this%RP%UpdateGhostObjects(dist) if (associated(this%PP)) call this%PP%UpdateGhostObjects(dist) if (associated(this%IB)) call this%IB%UpdateGhostObjects(dist) return end subroutine collision_obj_UpdateGhostObjects