[petsc-users] Why PETSc needs PetscScalar datatype?

Youjun Hu youjunhu at gmail.com
Sat Aug 4 11:39:14 CDT 2018


Hi all,

I am just wondering why PETSc introduces PetscScalar datatype in addition
to the PetscReal and PetscComplex.
Could someone help clarify the rationale behind this design?
I am primarily a Fortran guy. The additional datatype PetscScalar seems to
only confuse me rather than provide me any flexibility.
Cheers,
Youjun Hu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180804/d7419d61/attachment-0001.html>


More information about the petsc-users mailing list