Solve Poisson on a Uniform Grid (with standard 9-point Laplacian). Weights is a flattened array (using same indexing as UniformGrid and ArrayND) and the output solution. InConstrainedNodes is a list of flattened index nodes that are boundary conditions. ConstrainedWeights is a parallel array of the constrained values.