Figure streamline functionality module
Single Responsibility: Handle streamline plotting functionality Extracted from fortplot_figure_core to improve modularity
Basic validation for streamplot inputs
| Type | Intent | Optional | 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(:,:) | 
Clear streamline data
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(plot_data_t), | intent(inout), | allocatable | :: | streamlines(:) | 
Add streamline plot to figure - direct streamline generation
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(plot_data_t), | intent(inout) | :: | plots(:) | |||
| type(figure_state_t), | intent(inout) | :: | state | |||
| integer, | intent(inout) | :: | plot_count | |||
| 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), | optional | :: | density | ||
| real(kind=wp), | intent(in), | optional | :: | color(3) |