clip_to_data_bounds Subroutine

public pure subroutine clip_to_data_bounds(x, y, x_min, x_max, y_min, y_max)

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(inout) :: x
real(kind=wp), intent(inout) :: y
real(kind=wp), intent(in) :: x_min
real(kind=wp), intent(in) :: x_max
real(kind=wp), intent(in) :: y_min
real(kind=wp), intent(in) :: y_max