Process of incident p-polarized light being reflected on nanograting surface and the damped harmonic oscillator model in z direction.