Hi guys, <div><br></div><div>It might be a naive question, but I am wondering how KSPSetNullSpace() works when it is passed to a linear system ksp context?</div><div>Say, for instance, we have the simple case of Poisson equation solved in a square domain and Neumann boundary condition applied to all boundaries. </div>

<div>Does it take the integral of the solution and set it to zero as an extra constraint? </div><div><br></div><div>Thanks, </div><div>Mohamad</div><div><br></div>