[petsc-users] [petsc-maint] (no subject)

Mark Adams mfadams at lbl.gov
Tue Jan 7 08:59:12 CST 2020


 I’m not sure what the compilers, and C++ are doing here

On Tue, Jan 7, 2020 at 9:17 AM Кудров Илья <ilyakudrov at yandex.ru> wrote:

> However, after configuring
>
> cout<<1. + 1.*PETSC_i<<endl;
>
> outputs (1, 0) instead of (1, 1).
>
> 07.01.2020, 16:01, "Mark Adams" <mfadams at lbl.gov>:
>
> yes, configure with
>
> --with-precision=single
> --with-scalar-type=complex
>
>
> On Tue, Jan 7, 2020 at 7:49 AM Кудров Илья <ilyakudrov at yandex.ru> wrote:
>
> Good day! Is it possible to use complex numbers in single precision in
> linear solvers? I'd like to decrease time and memory needed for calculation.
>
> Best regards, Ilya Kudrov!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200107/146db1a9/attachment.html>


More information about the petsc-users mailing list