On Thu, Dec 13, 2018 at 4:35 PM Michael Povolotskyi <mpovo...@purdue.edu>
wrote:

> Hello,
>
> what is the recommended way to output a vector, previously added to a
> system,  for visualization?
>
> thank you!


I normally do:
*(system.solution) = system.get_vector("vec_name");

and then write out the system as usual. This of course involves copying the
vector, I'm not sure if there's a way to avoid that copy (usually the copy
would be negligible compared to the rest of the computations though...)

David

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

Reply via email to