/[escript]/trunk/dudley/test/python/generate_dumps.py
ViewVC logotype

Diff of /trunk/dudley/test/python/generate_dumps.py

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

revision 3773 by jfenwick, Mon Oct 11 01:48:14 2010 UTC revision 3774 by jfenwick, Wed Jan 18 06:29:34 2012 UTC
# Line 39  for root, dirs, files in os.walk(MESH_DI Line 39  for root, dirs, files in os.walk(MESH_DI
39     for name in files:     for name in files:
40         f=name.split(".")         f=name.split(".")
41         if f[0].startswith("mesh_") and f[-1]=="fly":         if f[0].startswith("mesh_") and f[-1]=="fly":
42            print "Reading "+os.path.join(MESH_DIRECTORY,name)            print("Reading "+os.path.join(MESH_DIRECTORY,name))
43            dom=ReadMesh(os.path.join(MESH_DIRECTORY,name),optimize=True)            dom=ReadMesh(os.path.join(MESH_DIRECTORY,name),optimize=True)
44            for fs_name in ["ContinuousFunction", "Solution", "Function", "FunctionOnBoundary", "FunctionOnContactZero", "FunctionOnContactOne",            for fs_name in ["ContinuousFunction", "Solution", "Function", "FunctionOnBoundary", "FunctionOnContactZero", "FunctionOnContactOne",
45                            "ReducedContinuousFunction", "ReducedSolution", "ReducedFunction", "ReducedFunctionOnBoundary", "ReducedFunctionOnContactZero", "ReducedFunctionOnContactOne"]:                            "ReducedContinuousFunction", "ReducedSolution", "ReducedFunction", "ReducedFunctionOnBoundary", "ReducedFunctionOnContactZero", "ReducedFunctionOnContactOne"]:
# Line 75  for root, dirs, files in os.walk(MESH_DI Line 75  for root, dirs, files in os.walk(MESH_DI
75               try:               try:
76                   saveESD(datasetName, MESH_DIRECTORY, s=s, v=v, t=t)                   saveESD(datasetName, MESH_DIRECTORY, s=s, v=v, t=t)
77               except:               except:
78                   print "Could not save ESD file "+datasetName                   print("Could not save ESD file "+datasetName)
79    

Legend:
Removed from v.3773  
changed lines
  Added in v.3774

  ViewVC Help
Powered by ViewVC 1.1.26