On 1/16/25 18:40, Junxiang Wang wrote:
>
> const std::vector<std::shared_ptr<PointHistory>> lqph =
> quadrature_point_history.get_data(cell);
>
> to record some history variables (e.g., max and min) at quadrature_point.
>
> Is there a way to output the nodal value of the history value? I am currently
> using DataPostprocessorVector to handle my output.
I don't know what the PointHistory class does (did you mis-spell the name of a
deal.II class?), but if I understand you correctly, then this is the value (or
multiple values) of the solution at a specific point. DataOut does not have
facilities to output point values itself, but you can work around this by
creating a ParticleHandler that has particles at quadrature points (I think
either step-70 or step-83) shows this, then transfer your history variable
from quadrature points to the particles, and then you can output this
information via particles::DataOut. This information can then be visualized
alongside the field data you output separately via DataOut.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email:
bang...@colostate.edu
www:
http://www.math.colostate.edu/~bangerth/