<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscOptionsGetScalar.html<br><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;"><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt"><div><span>Dear users n devlopers, </span></div><div><span><br></span></div><div><span>My Petsc routine contans a complex number, as a parameter of my problem. <br></span></div><div><span>I need to provide it at the run time options, since I intend to test a variety of parameter.</span></div><div><span>In this regard, I read that PetscScalar is the way to declare a complex number. </span></div><div><span>If I need merely a complex number at run time option to compile a compact routine, <br></span></div><div><span>any details from any examples of libraries ? <br></span></div><div><br><span></span></div><div><span>Thanks in anticipation. </span></div><div><br><span></span></div><div><span>Abdul,</span></div><br><div><span style="color:rgb(0, 0, 255);"><span style="font-family:verdana, helvetica, sans-serif;"><span style="font-family:lucida console, sans-serif;"></span></span></span><span style="color:rgb(0, 0, 255);"><span style="font-family:verdana, helvetica, sans-serif;"></span></span></div></div></blockquote><br></div></body></html>