On 4/13/23 06:22, Wasim Niyaz Munshi ce21d400 wrote:
**
Hello everyone. I have a vector distributed over multiple processors. I
want to compute the modulus of the entire vector and also the modulus of
the portions of vector stored by each process. I would really appreciate
some help in this regard.
Wasim:
For the former operation, vector.l2_norm() works. There are similar
functions for l1 and linfinity norms.
The latter operation is uncommon, and so there is no function. Why would
you want to compute the norm of only the elements stored on the current
process?
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/d203d5f7-568e-4743-51d3-6388188e5ec0%40colostate.edu.