Dear all,
I have a discrete part in my model and every timestep I need to update
the solution at some specific mesh nodes.
First I get the solution:
std::vector<Number> soln_old;
std::vector<std::string> names;
es.build_variable_names(names);
es.build_solution_vector(soln_old);
Than I update the values at some nodes and update the solution
es.get_system("System").update_global_solution(soln_old);
But when I get the solution I get the same one before update.
std::vector<Number> soln;
es.build_solution_vector(soln);
If someone know where is the mistake or if there is an easier way. This
update_global_solution as I read update the values in all processors
right?
Thank you
Sincerely
Ernesto
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users