From: Yuxiang W. <yw...@vi...> - 2019-06-17 20:18:03
|
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 <jwp...@gm...> wrote: > > > On Mon, Jun 10, 2019 at 12:52 AM Yuxiang Wang <yw...@vi...> 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 yw...@vi... +1 (434) 284-0836 |