On 7/1/21 4:48 AM, 'Dario Abbondanza' via deal.II User Group wrote:

I'm studying a problem in which I need to store quantities (symmetric tensors and doubles) at quadrature points, and I do that by using a PointHistory class as done in step 44 (https://www.dealii.org/current/doxygen/deal.II/step_44.html#Quadraturepointhistory).
The only difference is that I'm defining the CellDataStorage as

CellDataStorage<typename 
parallel::distributed::Triangulation<dim>::cell_iterator,
                                PointHistory<dim> > quadrature_point_history;

because I use a parallel distributed triangulation.

I don't have a particularly good solution in my head, but if you look at how programs such as ASPECT do checkpoint/restart, then they use a mechanism such as p::d::SolutionTransfer to attach data to the triangulation, save/restore, and unattach. You might be able to achieve the same effect by using the CellDataTransfer class, though I have no idea if anyone has ever tried that.

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/ebe8b2cd-0eba-ab41-4b3c-92729ec57a4b%40colostate.edu.

Reply via email to