function continuity_exact_test01 ( )

%*****************************************************************************80
%
%% continuity_exact_test01() generates a field and estimates its range.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    17 January 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'continuity_exact_test01:\n' );
  fprintf ( 1, '  Sample a spiral velocity field and estimate\n' );
  fprintf ( 1, '  the range of the solution values.\n' );

  n = 1000;

  x = rand ( n, 1 );
  y = rand ( n, 1 );

  c = 1.00;

  [ u, v ] = uv_spiral ( n, x, y, c );

  fprintf ( 1, '\n' );
  fprintf ( 1, '           Minimum       Maximum\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  U:  %14.6g  %14.6g\n', min ( u ), max ( u ) );
  fprintf ( 1, '  V:  %14.6g  %14.6g\n', min ( v ), max ( v ) );

  return
end

