def __convert(self, fname, cell_type=DataHandler.CellType_Tetrahedron, dim=3): handler = _TestHandler(cell_type, dim, self) if not os.path.isabs(fname): fname = os.path.join(os.path.dirname(__file__), "data", fname) meshconvert.convert(fname, handler) return handler
def __convert(self, fname, cell_type=DataHandler.CellType_Tetrahedron, dim=3): handler = _TestHandler(cell_type, dim, self) if not os.path.isabs(fname): fname = os.path.join("data", fname) meshconvert.convert(fname, handler) return handler
def __convert(self, fname): handler = _TestHandler(DataHandler.CellType_Tetrahedron, 3, self) if not os.path.isabs(fname): fname = os.path.join("data", fname) meshconvert.convert(fname, handler) return handler