ransphere Subroutine

public subroutine ransphere(r)

Generates a random vector from the surface of a unit sphere.

Algorithm from Allen & Tildesley (ed 1) p. 349.

Arguments

Type IntentOptional AttributesName
real(kind=rp), intent(out), dimension(3):: r(3)

Calls

proc~~ransphere~~CallsGraph proc~ransphere ransphere proc~get_rv_uniform get_rv_uniform proc~ransphere->proc~get_rv_uniform vdrnguniform vdrnguniform proc~get_rv_uniform->vdrnguniform

Contents

None