<div>Satish,</div> <div>Thanks for your response .</div> <div>I am sorry for my confusing description. In fact , I did use the configure option</div> <div>--with-scalar-type=complex when I configuated the system. So, I wonder if it is possible to change the type PetscScalar to some kinds like double[2] which can be handled in FFTW package? Or, is there any functions can get the real (imaginary) parts of a Petsc's Vector?</div> <div> </div> <div>Regards,</div> <div>Mason</div> <div><BR><B><I>Satish Balay <balay@mcs.anl.gov></I></B> дµÀ£º</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">use the configure option<BR><BR>--with-scalar-type=complex<BR><BR>Satish<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¸½¼þ£¡ </BLOCKQUOTE><BR><p> 
                <hr size=1><a href="http://cn.mail.yahoo.com" target=blank>ÇÀ×¢ÑÅ»¢Ãâ·ÑÓÊÏä-3.5GÈÝÁ¿£¬20M¸½¼þ£¡</a>