function retval = convectIC(x)
% usage: retval = convectIC(x)
% description: This function computes the initial condition
% for convection-diffusion equation at time t = 0.  This
% function should match the left boundary condition
% convectB(0) at x = 0 and be periodic of period gL.

% programmer: t. shores
% last update: 3/1/16
 
% Octave and Matlab compatible file
retval = sin(x);
%retval = sin(x).*sin(x);
%retval = zeros(size(x)) + ((x >= 2) & (x <= 3));
%retval = exp(-(x-3).^2/0.4)/sqrt(0.2*2*pi);
%retval = ones(size(x));
end
