On 1/12/21 9:18 AM, Konrad Simon wrote:
Thank you, Wolfgang, that was the issue. I am using the mean value function
at several different places in my code. One of them is inside a preconditioner
vmult that accepts only a fully distributed vector. Is there also a simple
workaround?
Then you need to create a vector with locally relevant entries as ghosts and
copy your fully distributed vector to it. There is no other way if you want to
use that function.
But if your goal is to fix the pressure in a Stokes problem, it doesn't have
to be the integral mean of the pressure that is zero. It could just be the
arithmetic mean, which you can compute without access to ghost elements.
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/baa1d92c-e105-f6f1-f587-a18f723815a2%40colostate.edu.