[petsc-users] Petsc has generated inconsistent data - Divide by zero!

Jed Brown jedbrown at mcs.anl.gov
Sat Jul 9 18:02:30 CDT 2011


On Sat, Jul 9, 2011 at 17:57, TAY wee-beng <zonexo at gmail.com> wrote:

> Ok thanks. Btw, is it better to solve my x/y eqns together? How can I do
> that?
>

Sure, interlace the x and y degrees of freedom and assemble the matrix with
x equations in the even row/column numbers and y equations in the odd
row/column numbers.

Note that the equations are not decoupled for some boundary conditions (e.g.
slip on a curved surface or free surface).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110709/3669374a/attachment.htm>


More information about the petsc-users mailing list