getNeighborCoord Function

public function getNeighborCoord(coord, nx, ny, nz, boundaryData) result(neighborCoord)

getNeighborCoord gets the coordinate of the element offset from input coord by (nx,ny,nz) while taking into account periodicity

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: coord(4)
integer, intent(in) :: nx
integer, intent(in) :: ny
integer, intent(in) :: nz
type(mus_particle_boundarydata_type), intent(in) :: boundaryData

Return Value integer, (4)