/[escript]/trunk/finley/test/python/localization.py
ViewVC logotype

Diff of /trunk/finley/test/python/localization.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4575 by jfenwick, Tue Jan 22 09:30:23 2013 UTC revision 4576 by sshaw, Mon Dec 9 23:35:30 2013 UTC
# Line 364  while t<T_END: Line 364  while t<T_END:
364           old_restart_dir="%s_%s_"%(PREFIX_RESTART,c-1)           old_restart_dir="%s_%s_"%(PREFIX_RESTART,c-1)
365           new_restart_dir="%s_%s_"%(PREFIX_RESTART,c)           new_restart_dir="%s_%s_"%(PREFIX_RESTART,c)
366           mkDir(new_restart_dir)           mkDir(new_restart_dir)
367       dom.MPIBarrier()           dom.MPIBarrier()
368           file(os.path.join(new_restart_dir,"stamp.%d"%dom.getMPIRank()),"w").write("%e; %e; %s; %s; %s; %e;\n"%(t, t_vis, n_vis, n, counter_vis, dt))           file(os.path.join(new_restart_dir,"stamp.%d"%dom.getMPIRank()),"w").write("%e; %e; %s; %s; %s; %e;\n"%(t, t_vis, n_vis, n, counter_vis, dt))
369           v.dump(os.path.join(new_restart_dir,"v.nc"))           v.dump(os.path.join(new_restart_dir,"v.nc"))
370           p.dump(os.path.join(new_restart_dir,"p.nc"))           p.dump(os.path.join(new_restart_dir,"p.nc"))

Legend:
Removed from v.4575  
changed lines
  Added in v.4576

  ViewVC Help
Powered by ViewVC 1.1.26