Hello everyone,

I am just wondering whether there is a function doing the opposite of
MatSetValuesStencil. I tried to find a MatGetValues equivalent for using
structured grid indexing, but it seems that MatGetValuesStencil does not
exist.

I have a sparse matrix A built on DMDA. If I want to use A's entries to
build another DMDA matrices B, what is the best way to retrieve A's
entries? Is it possible to use grid indexing?

Thank you.

Best,
Xiangdong

Reply via email to