pointing out raw pointer in CUSPARRAY
12 Feb
2013
12 Feb
'13
6:31 p.m.
Dear folks, I try to get PetscScalar array from CUSPARRAY as follows: CUSPARRAY *cusparray; PetscScalar *abc; abc = VecCUSPCastToRawPtr(*cusparray); std::cout << abc[0]; However, there comes a segmentation violation error. Any opinions are welcome. Thanks. With best regards, Pilhwa
4929
Age (days ago)
4929
Last active (days ago)
0 comments
1 participants
participants (1)
-
Pilhwa Lee