Dear Wolfgang,

Thank you very much for the suggestion.
Would be also a poddible solution to export my testvec as it is right now
(which contains the global solution) but instead of exporting with all the
preocess, call the print function only for one process?

Thank you

El El lun, 22 ago 2022 a las 16:51, Wolfgang Bangerth <
bange...@colostate.edu> escribió:

> 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
> .
>

-- 
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/CAEt%2B5Lvx%3DYnF1Wk96fS6-On-8xQz5qwGPfydW1BvOBARHeCSbQ%40mail.gmail.com.

Reply via email to