<div dir="ltr">Hello everyone,<div><br></div><div>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.</div>
<div><br></div><div>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?</div><div>
<br></div><div>Thank you.</div><div><br></div><div>Best,</div><div>Xiangdong</div></div>