On Thursday September 22 2011 23:29:41 Garth N. Wells wrote:
> Read the old file in (in serial), and the write it to file,
> 
>   mf_old = MeshFunctionUint(mesh, "filename.xml")
>   new_file = File("new_filename")
>   new_file << mf_old
> 
> I've done the above procedure from C++. Above Python code should work.

It seems to work for FacetFunctions. I tried CellFunctions but it stalled. 

Johan

> Garth
> 
> On 23 September 2011 06:05, Johan Hake <[email protected]> wrote:
> > _______________________________________________
> > Mailing list: https://launchpad.net/~dolfin
> > Post to     : [email protected]
> > Unsubscribe : https://launchpad.net/~dolfin
> > More help   : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dolfin
More help   : https://help.launchpad.net/ListHelp

Reply via email to