nonuniform grids for the Allen--Cahn equation. We show that the nonuniform BDF2 scheme
is energy stable under the time-step ratio restriction r_k:=\tau_k/k-1<(3+17)/2\approx3.561.
Moreover, by developing a novel kernel recombination and complementary technique, we
show, for the first time, the discrete maximum bound principle of the BDF2 scheme under the
time-step ratio restriction r_k<1+2≈2.414 and a practical time-step constraint. The second …