[petsc-users] DMDA questions

Jed Brown jed at jedbrown.org
Tue Feb 25 15:24:30 CST 2014


Xiangdong <epscodes at gmail.com> writes:
> I am not clear about this. In this example, where is the format declaration
> (e.g.,mpiaij) of Mat jac? Why is this mat jac always distributed in
> a compatible way as the DM vectors?

src/ksp/ksp/examples/tutorials/ex25.c calls KSPSetDM and sets functions
to assemble the matrices and right hand side.  Those objects are created
internally (you can use -dm_mat_type sbaij if you like) and the user
doesn't have to see them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140225/4f0f8e09/attachment.pgp>


More information about the petsc-users mailing list