Initializes cblock to handle collisions. This extra block is expected to be coarser than the simulation block, but larger than the maximum object size. It is used to expedite neighbor searches.
With this subroutine, each MPI rank owns a LOCAL view of the collision block.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(collision_obj), | intent(inout) | :: | this | |||
real(kind=wp), | intent(in) | :: | ds |
Target grid spacing |
||
integer, | intent(in) | :: | ngc |
Number of ghost cells for collision block |
||
type(block_obj), | intent(in), | optional | :: | block |
Optional block to conform to |