[petsc-users] Typecasting PetscReal and PetscScalar before doing	arithmetic?
    Gaurish Telang 
    gaurish108 at gmail.com
       
    Mon Mar 28 12:04:18 CDT 2011
    
    
  
Hi,
I have some variables in a program some of which are of type PetscReal and
some of the type PetscScalar. Is it safe doing arithmetic with these
variables without doing any explicit type casting?
Thanks,
Gaurish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110328/def3f5e3/attachment.htm>
    
    
More information about the petsc-users
mailing list