<div>Hong Zhang,</div> <div>Thanks for your respones.</div> <div> </div> <div> In FFTW3, complex type is set by double[2], and it is very easy to handle.</div> <div>But in Petsc, I don't konw exactly how the complex type be set. And when I want to do the fast fourier transform on a Petsc's complex vector by using FFTW3, I get the trouble of the translation between Petsc and FFTW3.</div> <div> </div> <div>Regards,</div> <div>Mason<BR><BR><B><I>Hong Zhang <hzhang@mcs.anl.gov></I></B> дµÀ£º</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR>Manson,<BR><BR>We don't have support for FFTW3 yet(we are currently developing<BR>an interface between petsc and FFTW3). How do you use FFTW3 in PETSC?<BR><BR>To build petsc with complex, you need configure petsc with<BR>'--with-scalar-type=complex'<BR><BR>Hong<BR><BR>On Wed, 2 Aug 2006, jiaxun hou wrote:<BR><BR>> Hi all,<BR>> I am trying
to using the package FFTW3 in PETSC.<BR>> How can I change type from PetscScalar to complex or double[2]?<BR>> The documentation seems a bit sketchy.<BR>><BR>> Regards<BR>> Mason<BR>><BR>><BR>><BR>> ---------------------------------<BR>> ÇÀ×¢ÑÅ»¢Ãâ·ÑÓÊÏä-3.5GÈÝÁ¿£¬20M¸½¼þ£¡<BR><BR></BLOCKQUOTE><BR><p> 
                <hr size=1><a href="http://cn.mail.yahoo.com/" target=blank>
ÑÅ»¢Ãâ·ÑÓÊÏä-3.5GÈÝÁ¿£¬20M¸½¼þ
</a>