<div dir="ltr">Hello everyone,<div><br></div><div>I am running the dm tutorial ex5. I have a few quick questions:</div><div><br></div><div>1) what do DMDA_ELEMENT_P1 and DMDA_ELEMENT_Q1 mean? I googled, but did not find the answer.</div>
<div><br></div><div>2) the m and n for DMDACreate2d are used as PETSC_DECIDE. when I print these values, it seems that m=-1 and n=-1. Can the number of processors per dimension be negative? Does -1 corresponds to some special meaning in PETSc?</div>
<div><br></div><div>3) When I run the program with np=1, I get ne=126 and nc=3 from DMDAGetElements(da,&ne,&nc,&e). It is not clear for me where 126 and 3 come from. Can you explain a little bit?</div><div><br>
</div><div>Thank you.</div><div><br></div><div>Xiangdong</div></div>