The coordinate DM also is automatically created and has dim fields in its vectors, making it far more heavyweight than a scalar problem. It should definitely be something that's lazily evaluated.
- Peter On Wed, May 8, 2013 at 7:39 AM, Jed Brown <jedbrown at mcs.anl.gov> wrote: > Matthew Knepley <knepley at gmail.com> writes: > > > Well, the scatter operations are collective, so making creation lazy here > > seems fine. > > I have no problem forcing a setup of local-to-global since I do not think > > many people > > use it directly. > > It gets added to any Mat or Vec that gets created. Any code that uses > VecSetValuesLocal() or MatSetValuesStencil() would fail without it. > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130508/2d22041e/attachment-0001.html>
