An analytical nodal method for time-dependent one-dimensional discrete ordinates problems