On Mar 20, 2013, at 3:03 PM, Manav Bhatia <[email protected]> wrote:
> Meaning that following should be my series of calls:
>
> Mesh new_mesh;
> XdrIO(new_mesh).read("saved_mesh.xdr");
> EquationSystems new_es(new_mesh);
> MyDerivedSystem& sys
> = new_es.add_system<MyDerivedSystem>("same_name_as_in_saved_file");
> new_es.read("saved_solution.xdr", libmeshEnums::DECODE);
Pretty much, however the mesh can read the XDR file directly:
Mesh new_mesh;
new_mesh.read("saved_mesh.xdr");
EquationSystems new_es(new_mesh);
…
See examples/adaptivity/adaptivity_ex2
-Ben
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users