cast unsigned int* -> PetscInt*
Toby D. Young
tyoung at ippt.gov.pl
Wed Jun 24 11:34:47 CDT 2009
Hello PETSc users,
I want to convert an unsigned int* to PetscInt*. Is there a simple way to
do this? My reason is, that I wish to protect in my application code from
asking for a negative number of eigenvalues to be computed (in SLEPc).
Thanks.
Best,
Toby
-----
Toby D. Young
Philosopher-Physicist
Adiunkt (Assistant Professor)
Polish Academy of Sciences
Warszawa, Polska
www: http://www.ippt.gov.pl/~tyoung
skype: stenografia
More information about the petsc-users
mailing list