You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to deal.II User Group
Hello,
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?
The link to the Git code for the above mentioned topic could also be helpful.
Thanks in advance, Prateek
Wolfgang Bangerth
unread,
Mar 20, 2018, 9:11:33 AM3/20/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prateek Sharma, deal.II user group
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:
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: