On 03/06/13 15:54, Nico Schlömer wrote:
Okay.
How can I set `rewrite_function_mesh` and `flush_output` from Python?

pfile = XDMFFile("results/p.xdmf")
pfile.parameters['flush_output'] = True;
pfile.parameters['rewrite_function_mesh'] = False;
p.rename("p","pressure")
pfile << p

"flush_output" will have detrimental effect on performance ...

Chris
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to