[petsc-users] Draw '2D' Vector (FFT)

Thomas Hisch t.hisch at gmail.com
Mon Jul 16 15:35:42 CDT 2012


On Sat, Jul 14, 2012 at 6:21 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
> On Sat, Jul 14, 2012 at 2:41 AM, Thomas Hisch <t.hisch at gmail.com> wrote:
>>
>> The Vec comes from a FFT object. As I'm not that familiar with PETSc
>> DMs, is it possible to associate such a FFT Vec with a DM? The next
>> thing is that after a FFT the axis coordintes change. Can this be
>> handled as well by a DM ?
>
>
> You'll need VecScatterFFTWToPetsc() to turn it into something that you can
> interpret. I guess that Vec will be in the natural ordering, so you can
> scatter once more to a DMDA.
>

Thx for the answer! Due to a lack of time I will try to employ
VecScatterFFTWToPetsc in my programs in a few weeks.

BTW, do you plan to add FFT docs to the petsc manual in the near future?

Regards
Thomas


More information about the petsc-users mailing list