[petsc-users] MATNEST with shell matrices

Jed Brown jedbrown at mcs.anl.gov
Thu Feb 21 18:11:12 CST 2013


On Thu, Feb 21, 2013 at 6:07 PM, Boyce Griffith <griffith at cims.nyu.edu>wrote:

>
> Yes there is a local and global size.  They are both 0.  :-)



Heh, interesting. Most finite-dimensional vector spaces have a dimension.
May as well use VecNestGetSubVec() when needed. I don't think there is any
code that will short-circuit in the zero-size case, but I'd still encourage
you to state a dimension that's not obviously bogus.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130221/56314b48/attachment.html>


More information about the petsc-users mailing list