<div dir="ltr">I cannot understand your description. Maybe you can draw a picture in 1D.<div><br></div><div> Matt</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 6, 2016 at 5:08 AM, praveen kumar <span dir="ltr"><<a href="mailto:praveenpetsc@gmail.com" target="_blank">praveenpetsc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi,<br><br></div><div>I am trying to implement Petsc for DD in a serial fortran FVM code. I want to use solver from serial code itself. Solver consists of gauss seidel + TDMA. BCs are given along with the solver at boundary virtual nodes. For Ex: CALL TDMA(0,nx+1), where BCs are given at 0 and nx+1 which are virtual nodes (which don't take part in computation). I partitioned the domain using DMDACreate and got the ghost nodes information using DMDAGetcorners. But how to create the virtual nodes at the processes boundary where BCs are to be given. Please suggest all the possibilities to fix this other than using PETSc for solver parallelization.<br><br></div><div>Thanks,<br></div><div>Praveen<br></div><br></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div>
</div>