[petsc-users] working with different size of arrays in a single DA
Jed Brown
jed at 59A2.org
Thu Apr 28 09:36:16 CDT 2011
On Thu, Apr 28, 2011 at 15:41, ilyas ilyas <ilyascfd at gmail.com> wrote:
> Would you please explain more the first option?
You create a system with larger block size. If you have two node-centered
values and one cell-centered, you would use a block size of 3. Each center
would be associated with the node to its lower left, for example. There will
be a fringe of "cell-centers" that extend out of domain on the right and
top, you use x = 0 for these equations and the Jacobian for those equations
will just have a 1 on the diagonal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110428/c2b9bbdd/attachment.htm>
More information about the petsc-users
mailing list