<div dir="ltr">Dear petsc developers and users,<div><br></div><div>I am a new petsc user ^_^.</div><div>I have some questions about using DMDA_BOUNDARY_GHOSTED.</div><div><br></div><div>1. I have 2D Poisson code with domain (nx, ny), and I used 

DMDA_BOUNDARY_NONE, then the size of the matrix is (nx*ny)X(nx*ny). <b><i>what is the size of the matrix if I used 

DMDA_BOUNDARY_GHOSTED? is it the same size as DMDA_BOUNDARY_NONE</i></b>?<br clear="all"><div><br></div><div>2. if the matrix size of DMDA_BOUNDARY_GHOSTED isn't the same as DMDA_BOUNDARY_NONE, <b><i>how i can view the matrix including ghost points</i></b>? I ask this one because I used MatView(P, PETSC_VIEWER_STDOUT_WORLD) to show the matrix but excluded ghost points.</div><div><br></div><div>I hope someone can explain my wonder :)</div><div><br></div><div>P/S: maybe, those question is simple and a bit stupid ^_^. </div><div><br></div><div>Have a nice day,</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="color:rgb(61,133,198);font-family:"times new roman",serif;font-size:12.8px">Quynh Nguyen</span><br></div><div><font color="#3d85c6" face="times new roman, serif"><span style="font-size:12.8px">Graduate student, Ocean Engineering.</span></font></div><div><font color="#3d85c6" face="times new roman, serif"><span style="font-size:12.8px">School of Naval Architecture and Ocean Engineering, University of Ulsan.</span></font></div><div><div><font color="#3d85c6" face="times new roman, serif">-----------------------------------------------------------------------------------------</font></div><div><font color="#3d85c6" face="times new roman, serif">Mobile: (+82) 010-9394-5595 </font></div><div><font color="#3d85c6" face="times new roman, serif">Email: <a href="mailto:nguyenquynh9537@gmail.com" target="_blank">nguyenquynh9537@gmail.com</a>; <a href="mailto:nguyenthiquynhb_t58@hus.edu.vn" target="_blank">nguyenthiquynhb_t58@hus.edu.vn</a></font></div></div></div></div></div></div></div></div></div></div></div></div>