Thank you John for the clarification and the pointer! I will read more into numeric_vector.h.
Have a great one, Shawn On Mon, Jun 17, 2019 at 6:05 AM John Peterson <[email protected]> wrote: > > > On Mon, Jun 10, 2019 at 12:52 AM Yuxiang Wang <[email protected]> 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 > -- Yuxiang "Shawn" Wang, PhD [email protected] +1 (434) 284-0836 _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
