Hello everyone.
I want to extract the element solution vector from the global solution once
the problem is solved in step-40. For a serial code, I would do something
like this:
*int i=0;*
*for (const auto vertex : cell->vertex_indices()) { int a =
(cell->vertex_dof_index(vertex, 0)); element_sol[i] = solution_vector[a];*
* i=i+1; }*
I don't have a solution_vector for a parallel code, but a
locally_relevant_solution. I want to know that, given this
locally_relevant_solution and the cell, how do I get the element_sol?
The global_dof will not be helpful here, as the solution_vector is
distributed across a number of processors.
Thanks and regards
Wasim
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/b2834b5b-f4f2-4931-9c5e-3f40d91b0648n%40googlegroups.com.