After solution of a simple problem (like step-3) I would like to get
access to the output in a format that is accessable to a visualisation
program written by a colleague. Essentially pass all of the information
that deal_II_intermediate format has to an external program without
writing to disk first! (ie not using write_deal_II_intermediate (out)
in that way).

Ideally, I would like call
std::vector<dealii::Patch>  patches = data_out.get_patches ()
and copy (and manipulate) the data in "patches" on a patch-by-patch
basis to another std::vector<>  in a form the visualisation program can
understand.

The only trouble is: I can not seem to get access to that *protected*
function to get the patches; no matter how I try. Hmmm, perhaps this is
not the right weay to do things afterall...   :-(

I think it would be ok to make that function public. It is meant to only be used by the functions in DataOutBase, but I see little harm in making it public.

An alternative would be to write your own function in DataOutBase.

Cheers
 W.

------------------------------------------------------------------------
Wolfgang Bangerth               email:            [email protected]
                                www: http://www.math.tamu.edu/~bangerth/

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to