[petsc-users] vec of integer type

LikunTan tlk0812 at hotmail.com
Tue Jun 10 18:16:37 CDT 2014


Dear Petsc developers,
Is that possible to define Vec of integer type?
I am defining
Vec M;PetscInt *aM;VecGetArray(M, &aM);
but this gives me an error when compiling:argument of type "PetscInt={int} **" is incompatible with parameter of type "PetscScalar= {PetscReal={double}} **
Thanks,

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140611/5dce6fe8/attachment.html>


More information about the petsc-users mailing list