[petsc-users] petsc-3.5 quadruple precision mixed with double
Hao Zhang
hbcbh1999 at gmail.com
Wed Jun 28 19:50:04 CDT 2017
hi, all:
I'm developing a CFD project, which all the matrix solver is PETSc based.
It works fine with double precision until I need some more, like quadruple
precision.
Ax = b is the system
input are double precision
shall I use PetscScalar instead of double?
Or is there a better way to pass double type to PETSc solver?
Or shall I convert double type to quadruple type before passing into the
solver?
I'm using PETSc 3.5.4. GCC 5.2.0 comiple with float128. I think there
should be no compiling error.
I can provide more code part if necessary. Thanks!
--
Hao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170628/e1222c6b/attachment-0001.html>
More information about the petsc-users
mailing list