On 4/6/23 06:02, Wasim Niyaz Munshi ce21d400 wrote:

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.

Daniel's question is correct, but to this specific point: A distributed vector (and it's locally relevant incarnation) is still a global vector, indexed by global degree of freedom numbers, and so the code remains correct.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/

--
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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/23dfeb3b-001e-7cf0-e56e-fdbeb52edd78%40colostate.edu.

Reply via email to