On 09/07/2017 08:32 AM, Jie Cheng wrote:
Thanks for explaining it. Now I got both StrainPostprocessor and
StressPostprocessor working! But it seems a little wasteful to have two
separate classes because we are not reusing the gradient of displacement
computed in StrainPostprocessor. Although it is tolerable, but it'll be even
better if there is a way to output both in one class derived from
DataPostprocessorTensor. (:
It can't be derived from DataPostprocessorTensor because that class is only
meant to output a single tensor, whereas you want to output two tensors. But
it should not be very hard to write a class derived from DataPostprocessor
that outputs both the strain and the stress.
In practice, I suspect that you will not be able to measure much of a
difference between using two classes and merging it all into one.
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.