[petsc-users] Does the kspsolver used in the DMDA take the special structrue of the cartesian coordinate into consideration.

Jed Brown jedbrown at mcs.anl.gov
Sun Sep 15 10:07:21 CDT 2013


丁老师 <ztdepyahoo at 163.com> writes:

> since in cartesian coordinate system, the matrix vector operation can
> be explicitly known. 

What can be "explicitly known"?

> Does the kspsolver used in the DMDA take the special structrue of the
> cartesian coordinate into consideration.

DMDA sets nonzero pattern, but you assemble the matrix.  You can also
define matrix-free products, but don't do that until you are happy with
a preconditioner and profiling tells you that optimizing the matrix
representation will give a speedup that is more valuable than either (a)
further optimizing preconditioning algorithms or (b) adding new
physics/analysis to your code.
-------------- 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/20130915/4a7f8862/attachment-0001.pgp>


More information about the petsc-users mailing list