On Sat, Dec 24, 2011 at 14:10, Dominik Szczerba <dominik at itis.ethz.ch>wrote:
> I do not understand: is there something in Petsc of this sort that I > could use for my unstructured meshes or you meant I have to implement > it myself? > If you implement DM to the extent of providing DMCreateGlobalVector(), then DMGetGlobalVector()/DMRestoreGlobalVector() will work for you. Otherwise you implement it yourself. This kind of caching is a very common pattern for data structure reuse. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111224/1dbba6b6/attachment.htm>
