I've recompiled correctly, now everything works fine. Thanks.
 
07.01.2020, 17:59, "Mark Adams" <[email protected]>:
 I’m not sure what the compilers, and C++ are doing here 
 
On Tue, Jan 7, 2020 at 9:17 AM Кудров Илья <[email protected]> wrote:
However, after configuring
 
cout<<1. + 1.*PETSC_i<<endl;
 
outputs (1, 0) instead of (1, 1).
 
07.01.2020, 16:01, "Mark Adams" <[email protected]>:
yes, configure with
 
--with-precision=single 
--with-scalar-type=complex
 
 
On Tue, Jan 7, 2020 at 7:49 AM Кудров Илья <[email protected]> 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!

Reply via email to