[petsc-users] FFT using Petsc4py

Lisandro Dalcin dalcinl at gmail.com
Fri Sep 30 03:16:08 CDT 2016


On 27 September 2016 at 21:05, Amit Itagi <gcfrai at gmail.com> wrote:

> Hello,
>
> I am looking at the Petsc FFT interfaces. I was wondering if a parallel
> FFT can be performed within a Petsc4Py code. If not, what would be the best
> way to use the Petsc interfaces for FFT from Petsc4Py ?
>
>
It should work out of the box by using mat.setType(Mat.Type.FFTW) before
setup of your matrix.


-- 
Lisandro Dalcin
============
Research Scientist
Computer, Electrical and Mathematical Sciences & Engineering (CEMSE)
Extreme Computing Research Center (ECRC)
King Abdullah University of Science and Technology (KAUST)
http://ecrc.kaust.edu.sa/

4700 King Abdullah University of Science and Technology
al-Khawarizmi Bldg (Bldg 1), Office # 0109
Thuwal 23955-6900, Kingdom of Saudi Arabia
http://www.kaust.edu.sa

Office Phone: +966 12 808-0459
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160930/fdc19c99/attachment-0001.html>


More information about the petsc-users mailing list