Hi,

Is there any safe and fast way to access to a solution.

I have a Transient Explicit system, with few variables inside.

TransientExplicitSystem& system=es.add_system<TransientExplicitSystem>
("system");
system.add_variable("var1", FIRST);
system.add_variable("var2", FIRST);
system.add_variable("var3", FIRST);

To access to all variables, I did:

  NumericVector<Number> & unk = *system.current_local_solution;
  NumericVector<Number> & old_unk = *system.old_local_solution;

Can I somehow do a similar for a specific variable (var1, var2, var...) on
this system.

Thank you very much,
Best regards,
/ Ming Q.
------------------------------------------------------------------------------

_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to