On 7/11/25 21:36, Md Mahmudul Islam wrote:
I have read about the ghost element which is related to the locally_owned_dofs
and locally_relevant_dofs. I was confused if we need to create block vector
for each of the vectors that are used in the computation later. Like in solve
we have created completely_distributed_solution for locally_owned_dofs only
and then passed it to locally_relevant_solution which we used to compute
output results later.
Whether a vector does/does not have ghost entries is an entirely separate
question from whether a vector is/is not substructured into blocks. In other
words, you need to follow the same kind of scheme of programs such as step-40
regarding where you need a ghosted and where you need a completely distributed
vector. The only difference lies in how you *create* the vector: step-40
creates non-block ghosted and completely distributed vectors, whereas other
programs create block ghosted and completely distributed vectors.
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 visit
https://groups.google.com/d/msgid/dealii/7a7daa52-aa68-41ab-b14a-672109f76362%40colostate.edu.