Prateek,

I want to calculate output data that are specific to each cell. Each cell has a different material property.

I am plotting the data using the function /compute_derived_quantities_vector(..) /under DataPostprocessor class. Is there any way to know which cell is currently being calculated by this function or can I access the cell iterator/pointer in this function?

If you compare the documentation between 8.4 and 8.5, you will see that the DataPostprocessor class has been reorganized a bit:

https://www.dealii.org/8.4.0/doxygen/deal.II/classDataPostprocessor.html
https://www.dealii.org/8.5.0/doxygen/deal.II/classDataPostprocessor.html

In particular, the compute_derived_quantities_*() functions have been deprecated (and indeed removed in the current development version). The evaluate_*_field() functions take objects that are derived from DataPostprocessorInputs::CommonInputs which has a way to access the cell:

https://www.dealii.org/8.5.0/doxygen/deal.II/structDataPostprocessorInputs_1_1CommonInputs.html

I think this is exactly what you are looking for.

Best
 W.


--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to