function box_flow_test ( )

%*****************************************************************************80
%
%% box_flow_test() tests box_flow().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    03 December 2018
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../box_flow' )

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'box_flow_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  Test box_flow().\n' );

  total_time = 1.0;
  nu = 1.0;
  Lambda = 1.0;
  solver_type = 1;
  save_file = '';
  node_file = 'nodes6.txt';
  element_file = 'triangles6.txt';

  [ u, v, p ] = box_flow ( total_time, nu, Lambda, solver_type, save_file, ...
    node_file, element_file );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'box_flow_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../box_flow' )

  return
end
function timestamp ( )

%*****************************************************************************80
%
%% timestamp() prints the current YMDHMS date as a timestamp.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    14 February 2003
%
%  Author:
%
%    John Burkardt
%
  t = now;
  c = datevec ( t );
  s = datestr ( c, 0 );
  fprintf ( 1, '%s\n', s );

  return
end

