%This function defines the left boundary condition (at x = 0).
function leftVal = leftBoundary(t)
leftVal = 400;