Weakly nonlinear theory for a gate-type curved array in waves. (25th June 2019)