On 8/21/22 04:29, Uclus Heis wrote:
//
/testvec.print(outloop,9,true,false);/

It is clear that the problem I have now is that I am exporting the completely_distributed_solution and that is not what I want. Could you please informe me how to obtain the locally own solution? I can not find the way of obtaining that,

I don't know what data type you use for testvec, but it seems like this vector is not aware of the partitioning and as a consequence it just outputs everything it knows. You need to write the loop yourself, as in something along the lines of
  for (auto i : locally_owned_dofs)
    outloop << testvec(i);
or similar.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/9baaf996-f9b4-65a9-5855-71897421b041%40colostate.edu.

Reply via email to