PetscScalar, PetscReal

jarunan at ascomp.ch jarunan at ascomp.ch
Thu Nov 12 05:21:43 CST 2009


Hello,

I would like to ask about PetscScalar.
- What is PetscScalar by default?(double precision real number?)
- Is PetscReal represent double precision real number?
- Is PetscScalar need more memory than PetscReal?

By the way, in the Petsc command I cannot use Integer or normal real  
array from fortran. I have to convert every variables I need Petsc  
command to PetscInt, PetscReal or PetscScalar. Is it meant to be so?  
In the last version, I used to be able to use common integer or real  
in Petsc code.

Best regards,
Jarunan


More information about the petsc-users mailing list