generate_streamlines Subroutine

public subroutine generate_streamlines(x, y, u, v, density, trajectories, n_trajectories, trajectory_lengths, rtol, atol, max_time)

Generate streamlines using matplotlib-compatible algorithm

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: x(:)
real(kind=wp), intent(in) :: y(:)
real(kind=wp), intent(in) :: u(:,:)
real(kind=wp), intent(in) :: v(:,:)
real(kind=wp), intent(in) :: density
real(kind=wp), intent(out), allocatable :: trajectories(:,:,:)
integer, intent(out) :: n_trajectories
integer, intent(out), allocatable :: trajectory_lengths(:)
real(kind=wp), intent(in), optional :: rtol
real(kind=wp), intent(in), optional :: atol
real(kind=wp), intent(in), optional :: max_time