function h = bc_test02 ( x_num, x, t, h )

%*****************************************************************************80
%
%% bc_test02() evaluates the boundary conditions for problem 2.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    30 January 2012
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer X_NUM, the number of nodes.
%
%    real X(X_NUM,1), the node coordinates.
%
%    real T, the current time.
%
%    real H(X_NUM,1), the current heat values.
%
%  Output:
%
%    real H(X_NUM,1), the current heat values, after boundary
%    conditions have been imposed.
%
  h(1,1)     = exact_test02 ( 1, x(1),     t );
  h(x_num,1) = exact_test02 ( 1, x(x_num), t );

  return
end
