calculate_seed_points_matplotlib Subroutine

public subroutine calculate_seed_points_matplotlib(x, y, density, seed_x, seed_y, n_seeds, mask)

Calculate seed points using matplotlib-compatible spiral algorithm with collision detection for proper streamline spacing

Arguments

Type IntentOptional Attributes Name
real, intent(in), dimension(:) :: x
real, intent(in), dimension(:) :: y
real(kind=wp), intent(in) :: density
real, intent(out), allocatable :: seed_x(:)
real, intent(out), allocatable :: seed_y(:)
integer, intent(out) :: n_seeds
type(stream_mask_t), intent(inout) :: mask