[petsc-users] [petsc4py] vec.getCUSPArray for cusp vecs
Jed Brown
jed at jedbrown.org
Tue Jul 8 19:13:44 CDT 2014
r<#secure method=pgpmime mode=sign>
Ashwin Srinath <ashwinsrnth at gmail.com> writes:
> Hello, petsc-users,
>
> In PETSc, we have VecCUSPGetArray to access the underlying array from a Vec
> of type 'cusp'. Does petsc4py offer something similar? If not, I'm
> considering using petsc4py and pyCUDA together in some way, and I'd be
> extremely grateful for any advice on doing that.
It does not currently exist. What type would you like to see returned?
If we can find a sufficiently generic approach, it can be added.
More information about the petsc-users
mailing list