Extended one-dimensional method for coherent synchrotron radiation including shielding