On Mon, Jun 10, 2019 at 12:52 AM Yuxiang Wang <yw...@virginia.edu> wrote:

> Dear all,
>
> Quick question - in using the TransientSystem::old_solution vs
> TransientSystem::old_local_solution, I noticed that the former seems to be
> exactly the latter plus two size checks. Therefore, can I simply use the
> latter (old_local_solution) if I am sure that the DOF number is correct?
>

I think the main difference between old_solution and old_local_solution is
that the former is of type PARALLEL while the latter is of type GHOSTED
(see numeric_vector.h for some description of the different types). The
latter should be used when doing assembly.

-- 
John

_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to