<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Dear Petsc developers,<div><br></div><div>Is that possible to define Vec of integer type?</div><div><br></div><div>I am defining</div><div><br></div><div>Vec M;</div><div>PetscInt *aM;</div><div>VecGetArray(M, &aM);</div><div><br></div><div>but this gives me an error when compiling:</div><div>argument of type "PetscInt={int} **" is incompatible with parameter of type "PetscScalar= {PetscReal={double}} **</div><div><br></div><div>Thanks,</div><div><br></div><div><br></div> </div></body>
</html>