On 27 October 2014 04:05, Matthew Knepley <[email protected]> wrote: > 2) Lisandro, do you have an automatic converter from PetscScalar to a numpy > dtype? Using np.dtype.float64 is dicey.
PETSc.ScalarType -- Lisandro Dalcin ============ Research Scientist Computer, Electrical and Mathematical Sciences & Engineering (CEMSE) Numerical Porous Media Center (NumPor) King Abdullah University of Science and Technology (KAUST) http://numpor.kaust.edu.sa/ 4700 King Abdullah University of Science and Technology al-Khawarizmi Bldg (Bldg 1), Office # 4332 Thuwal 23955-6900, Kingdom of Saudi Arabia http://www.kaust.edu.sa Office Phone: +966 12 808-0459
