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.
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
>
--
Garth N. Wells
Department of Engineering, University of Cambridge
http://www.eng.cam.ac.uk/~gnw20
_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dolfin
More help : https://help.launchpad.net/ListHelp