Everyone,
What's the best example of solving a Complex problem with PETSc? Are
there any examples of solving Schrodinger's equation around?
Thanks,
Jay
--
Jay Jay Billings
Oak Ridge National Laboratory
Twitter Handle: @jayjaybillings
Jay,
You need to ./configure PETSc with —with-scalar-type=complex (yes sadly you
cannot mix some real vectors/matrices in the same PETSc program as some complex
ones). Then proceed as usual. PetscScalar is of type complex double and
PetscReal of double.
No examples of solving