rotate_positions Subroutine

public subroutine rotate_positions(positions, n1, n2)

Arguments

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

Output: coordinates of the particles

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

Unit vector describing the input cylinder axis

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

Unit vector describing the output cylinder axis.