function w = wave_init ( )

%*****************************************************************************80
%
%% wave_init() returns the initial condition for the wave PDE.
%
%  Discussion:
%
%    If we have an exact solution, then the initial condition can be set
%    by calling the exact solution for the initial time.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 December 2020
%
%  Author:
%
%    John Burkardt
%
%  Output:
%
%    real w(nx,2): the initial condition.
%
  [ xmin, xmax, nx, dx, c, t0 ] = wave_parameters ( );

  w = wave_exact ( t0 );

  return
end

