update() just syncs solution and current_local_solution with this call:

solution->localize (*current_local_solution, send_list);

So you don't have to worry about calling update if you're changing 
vectors other than solution, i.e. sounds like you've been doing the 
right thing.

David




On 02/08/2013 12:40 PM, Jens Lohne Eftang wrote:
> Hi,
>
> When do I need to call close() on a NumericVector, and when do I need to
> update() a system?
>
> So far my actions have been based solely on compiler complaints without
> any deep understanding of what's going on ... I've been calling close()
> on a vector whenever I'm done setting individual elements in a
> NumericVector, and I've been calling update() on a system if I've been
> modifying the solution vector of a system.
>
> For example, do I also need to update() a system after changing other
> (added) vectors to a system?
>
> Thanks,
>
> Jens
>
>
>
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> _______________________________________________
> Libmesh-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libmesh-users


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to