[petsc-dev] c++, float128 and complex patch
Matthew Knepley
knepley at gmail.com
Wed May 3 09:27:40 CDT 2017
On Wed, May 3, 2017 at 9:22 AM, Michael Gegg <michael.gegg at tu-berlin.de>
wrote:
> Hello Petsc developers,
>
> thank you for providing such a marvellous numerics package, we had/have a
> lot of fun using it. For our purposes it was necessary to use Petsc with
> c++, float128 and complex. Since this is not possible with the standard
> build we made a patch. It uses c style complex numbers as a workaround.
> It can be used with the Parmetis package (there is a little fix in the
> interface there) and we have made a Slepc patch that then also allows to
> use c++, float128 and complex.
> It would be great if you could include it in the petsc software.
> We checked the patch for v3.7.6 and v3.7.3 (latest Slepc release)
>
One question. Why would you compile PETSc with C++ if you wanted to use C99
complex? You can do that with the C build, and call
PETSc the same way from C++.
Thanks,
Matt
> With best regards,
>
> Michael Gegg
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20170503/465150ed/attachment.html>
More information about the petsc-dev
mailing list