On 2/17/22 09:22, Uclus Heis wrote:

I still had problems as I first copy the array and then I store it in a matrix for diffeerent frequencies.The result I got was differet whene using few process compared to using 1 single process. I added the following code and now works, is it right?

It copies a vector into a row of a matrix. Whether that's what you want is a different question, so we can't tell you whether it's "right" :-)

You can simplify this by saying
  tmparray = locally_relevant_solution;

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/3ea418af-1699-d448-6df9-7162a5fe0b72%40colostate.edu.

Reply via email to