nonlinear galerkin methods