<div dir="ltr">Hello PETSc team,<div><br></div><div>I have a few quick questions about the DMDA:</div><div><br></div><div>1) The ordering. The global vector is using natural ordering and the local vector is using petsc ordering. In other words, if I create a DM with width 0 (no ghost layers), the local portion of global vector and the local vector are still different. I tested and it seems ture, just want to confirm.</div>
<div><br></div><div>2) DOF. In each cell, I have two unknowns, say ux and uy. One way is to store them using one global vector with dof=2. The other way is to create two global vectors for each ux and uy with dof=1. Is one approach better than the other?</div>
<div><br></div><div>3) Matrix compatibility. When I specify the entries of my sparse matrix by looping each row from ns to ne (obtained from MatGetOwnershipRange), the local portion of global vector also has the range from ns to ne. However, the local vector on that processor may have different ranges (or different portion) due to ordering. If the entries depends on the portion from ns to ne + its ghost  points, what is the best way to do it?</div>
<div><br></div><div>4) Name convention. Some function are names as DMXX, while others have DMDAXX. Why do they have different prefix?</div><div><br></div><div>Thank you.</div><div><br></div><div>Best,</div><div>Xiangdong</div>
</div>