translate_positions Subroutine

public subroutine translate_positions(positions, translation_vec)

Arguments

Type IntentOptional Attributes Name
type(grw_real2darray_type), intent(inout) :: positions

Output: coordinates of the particles

real(kind=rk), intent(in) :: translation_vec(3)

Vector with which to translate positions by