Thanks very much, Jed. It sounds as if we ought to allow a couple optional bool arguments to the PetscVector(Vec) constructor? There's no way for that method to efficiently infer the state of a Vec (you'd need all-to-all communication equivalent to a redundant close() just to determine that there was nothing for close() to do), but most callers of that method ought to be able to tell it whether assembly and/or ghost updates are necessary.
Then instead of just doing a close() at the end of every construction, we could do an _ghost_update() and/or _assembly() as required. --- Roy ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Libmesh-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-devel
