[petsc-users] Complex Number

Shri abhyshr at mcs.anl.gov
Mon Apr 16 12:20:15 CDT 2012


http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscOptionsGetScalar.html ----- Original Message -----
> Dear users n devlopers,
> My Petsc routine contans a complex number, as a parameter of my
> problem.
> I need to provide it at the run time options, since I intend to test a
> variety of parameter.
> In this regard, I read that PetscScalar is the way to declare a
> complex number.
> If I need merely a complex number at run time option to compile a
> compact routine,
> any details from any examples of libraries ?
> Thanks in anticipation.
> Abdul,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120416/51a5e59b/attachment.htm>


More information about the petsc-users mailing list