On 4/9/20 5:00 PM, Jean-Paul Pelteret wrote:
Sorry, I hit send too soon. It might be possible to use a PostProcessorScalar to extract the manifold ID from the cell that the post-processor is actively working on, and return that value as the outputted “computed_quantities". Then you don’t need to worry about any of the iterating yourself.

Yes, that's the way I would have used.


But I’m not quite sure if you can get it to colour each face as a single manifold ID (as it might interpolate the values between adjacent faces). That said, I would be surprised if this were not somehow possible to do, since we allow the cell material ID to be output as a cell constant value.

For DataOutFaces, you get a different data record for each face. So you should definitely be able to plot individual faces of the same cell with different colors.

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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/afd0a1db-ee05-b873-eb77-099423906e28%40colostate.edu.

Reply via email to