The right way is to use a PetscViewer.

   Matt

On Mon, Sep 27, 2010 at 12:12 PM, Amal Alghamdi <amal.ghamdi at 
kaust.edu.sa>wrote:

> Dear All,
>
> I'm using the DA structure in petsc4py. I'd like to know please what is the
> right way to:
> plot the DA vector (the global vector).
> write the global vector to a file.
> Is that each process writes or draws its own part? or I should communicate
> all the data to one process? or none of these?!!
>
> Thank you very much
> Amal
>



-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100927/ecb4c47b/attachment.htm>

Reply via email to