PetscSqrtScalar() macro automatically becomes the correct thing.

   Barry

On Apr 4, 2011, at 4:30 PM, Gaurish Telang wrote:

> Hi,
> 
> Is there a squareroot function implemented in PETSc which can be applied to a 
> PetscScalar type? I am not sure if the sqrt function of the C math library 
> will work on this datatype.
> 
> Regards,
> 
> Gaurish 
> 

Reply via email to