<div dir="ltr"><a href="http://www.mcs.anl.gov/petsc/petsc-current/src/ksp/ksp/examples/tutorials/ex34.c.html">http://www.mcs.anl.gov/petsc/petsc-current/src/ksp/ksp/examples/tutorials/ex34.c.html</a> has examples both Neumann and Dirichlet BCs...<div>
<br></div><div>A<br><div><br><div class="gmail_quote">On Sun, Apr 15, 2012 at 3:00 AM, Zhenglun (Alan) Wei <span dir="ltr"><<a href="mailto:zhenglun.wei@gmail.com">zhenglun.wei@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear All,<br>
Any suggestions on a 3D Poisson Solver with both Dirichlet and Neumann BC's?<br>
Also, does PETSc have any example of Poisson solver (either 2D or 3D) with periodic boundary conditions.<br>
<br>
thanks<span class="HOEnZb"><font color="#888888"><br>
Zhenglun<br>
</font></span></blockquote></div><br></div></div></div>