<div dir="ltr">Hi guys, <div><br></div><div>I am newbie to the FFTW and PETSc world. </div><div>I found out that PETSc has interface to use FFTW. </div><div>I looked into a few examples available, but I did not find anything regarding FFTW of a DMDA vectors on a nonuniform structured grid. </div>

<div>How do we pass the grid coordinates of the vector to FFTW? </div><div><br></div><div>I like to solve a Poisson equation in (2 or 3d) on structured orthogonal grid with non-uniform grid spacing using FFTW and do some performance comparison against algebraic multigrid solvers. </div>

<div><br></div><div>If anyone has had experience with this, could you please guide me here? </div><div><br></div><div>Thanks, </div><div>Mohamad<br></div><div><br></div></div>