The nonlinear Fabry–Pérot resonator: direct numerical integration