Dear Alberto,

It looks like one can already do this, although its somewhat obscurely 
documented. Here's a link to the documentation of the CommonInputs class 
<https://www.dealii.org/8.5.0/doxygen/deal.II/structDataPostprocessorInputs_1_1CommonInputs.html>,
 
wherein you can find a documented example of computing some solution and 
cell dependent data. It seems to be a relatively new feature (circa 2016) 
and I didn't know about it, so I'm happy to have found out about it as well!

Regards,
Jean-Paul

On Friday, August 18, 2017 at 11:16:40 AM UTC+2, Alberto Salvadori wrote:
>
> Dear all,
>
> I have been studying step-32 and I have found the class Postprocessor nice 
> and effective. 
> It is my understanding that the method compute_derived_quantities_vector 
> within 
> the class operates at a call level, i.e. that beyond the hood the class 
> Postprocessor
> implements loops over the triangulation. 
>
> I wonder if there is a way to use the cell->user_pointer in the method 
> compute_derived_quantities_vector, i.e. if there is a way to access a 
> reference to the cell itself.
>
> This would be very useful in case of post-processing of data that depend 
> on the history at each Gauss point, which is indeed my case of interest.
>
> Thanks!
> Alberto
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to