Text this: Half- and quarter-sweeps implementation of finite-difference time-domain method