On 4/26/23 03:34, Abbas wrote:
Why is it that in step 40 the locally relevant solution is initialised with both locally_owned_dofs and locally_relevant_dofs, while in the Distributed_LDG_Method example in the code gallery the locally relevant solution is just initialised with just the locally_relevant_dofs only?

The code gallery program uses this function [2/5]:
https://dealii.org/developer/doxygen/deal.II/classTrilinosWrappers_1_1MPI_1_1Vector.html#af74a39fa88174f63767d510416c09e6f
The tutorial, on the other hand, uses [3/5] immediately below.

Both are reasonable. I would gladly accept a patch that switches the use from [2/5] to [3/5] because that version is clearly more obvious.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/d99c7052-5813-718b-0caf-d6928418a07d%40colostate.edu.

Reply via email to