> I would like to write a function to save/load my simulation data to
> disk. What things do I need to save? I already knew that I have to save
> the data vectors. How can I save the mesh, and refinement information
> etc?

You can use the PersistantTriangulation class that can save its state to a 
file, and be restored from there. You can reconstruct the DoFHandler from 
such triangulation if you just distribute degrees of freedom in exactly the 
same way as you did before.

Best
 W.

-------------------------------------------------------------------------
Wolfgang Bangerth                email:            [email protected]
                                 www: http://www.math.tamu.edu/~bangerth/

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to