Home | Trees | Indices | Help |
---|
|
1 """Gets information about the mesh of a case. Makes no attempt to manipulate 2 the mesh, because this is better left to the OpenFOAM-utilities""" 3 4 from SolutionDirectory import SolutionDirectory 5 from ListFile import ListFile 68 """Reads Information about the mesh on demand""" 9 133215 try: 16 return self.faces 17 except AttributeError: 18 faces=ListFile(self.sol.polyMeshDir(),"faces") 19 self.faces=faces.getSize() 20 return self.faces2123 try: 24 return self.points 25 except AttributeError: 26 points=ListFile(self.sol.polyMeshDir(),"points") 27 self.points=points.getSize() 28 return self.points2931 raise "NotImplemented"
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0alpha3 on Wed Aug 29 19:08:09 2007 | http://epydoc.sourceforge.net |