Dear Jean-Paul, Thanks for your reply! And I am interested in 'the serialization capabilities', can you give me a little example or code to show me how it work. For me the ASPECT library <https://www.google.com/url?q=https%3A%2F%2Faspect.geodynamics.org%2F&sa=D&sntz=1&usg=AFQjCNEohyzhbZ5uZr1UJ6cdCXdI3mAj1w> is an entile new one, I cannot find the example that shows the serialization capabilities exactly, so I need some help. And is the point of 'the serialization capabilities' a fundamental point of C++? Does it only work at some projects such as the ASPECT library <https://www.google.com/url?q=https%3A%2F%2Faspect.geodynamics.org%2F&sa=D&sntz=1&usg=AFQjCNEohyzhbZ5uZr1UJ6cdCXdI3mAj1w> you mentioned above? Thank you very much!
Best, Chucui 在 2018年11月5日星期一 UTC+8下午3:36:59,Jean-Paul Pelteret写道: > > Dear Chucui, > > The Triangulation > <https://dealii.org/9.0.0/doxygen/deal.II/classTriangulation.html#a5ae613e76606c08f919aa6e4bdf5f94a> > , DoFHandler > <https://dealii.org/9.0.0/doxygen/deal.II/classDoFHandler.html#aee69e8dd102b00e6e2e706ab43ea6c2a> > and Vector > <https://dealii.org/9.0.0/doxygen/deal.II/classVector.html#a753f299ab91013f742448f5bfc0f4b68> > classes > support serialization, that is to say that they have built-in save() / > load() functions. The GridIn::read_vtk() > <https://dealii.org/9.0.0/doxygen/deal.II/classGridIn.html#a058cd187cea704428ac1118410cd0fb8> > function > can supposedly construct a triangulation from a solution vector, but I’m > not sure if this is working at the moment (see this GitHub issue > <https://github.com/dealii/dealii/issues/7296>). I don’t think that there > exists a mechanism to read in the numerical data from VTK file as of yet. > So I would suggest that you utilise the serialization capabilities, which > should allow a complete restart of a simulation from any tilmestep. I > understand that this is what the ASPECT library > <https://aspect.geodynamics.org/> does. > > Although it does not directly help you restart a simulation using VTK > data, I hope that you find this information useful. > > Best, > Jean-Paul > > > -- 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.
