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: bange...@colostate.edu
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 dealii+unsubscr...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/dealii/cbf4ccca-62c2-46c1-9e23-94c8e623c8e4%40colostate.edu.