From 28672b5ebe0d936d43fc4c393d1eb854d282009d Mon Sep 17 00:00:00 2001 From: Stephen Mardson McQuay Date: Mon, 21 Mar 2011 17:28:41 -0600 Subject: [PATCH] moved some stuff from the smcqdelaunay module into the interp.grid.delaunay module --- interp/grid/smcqdelaunay.py | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 interp/grid/smcqdelaunay.py diff --git a/interp/grid/smcqdelaunay.py b/interp/grid/smcqdelaunay.py deleted file mode 100644 index 9be1949..0000000 --- a/interp/grid/smcqdelaunay.py +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/python - -from subprocess import Popen, PIPE - -def get_qdelaunay_dump(g): - cmd = 'qdelaunay Qt f' - p = Popen(cmd.split(), bufsize=1, stdin=PIPE, stdout=PIPE) - so, se = p.communicate(g.for_qhull()) - for i in so.splitlines(): - yield i - -def get_qdelaunay_dump_str(g): - return "\n".join(get_qdelaunay_dump(g)) - -def get_index_only(g): - cmd = 'qdelaunay Qt i' - p = Popen(cmd.split(), bufsize=1, stdin=PIPE, stdout=PIPE) - so, se = p.communicate(g.for_qhull()) - for i in so.splitlines(): - yield i - -def get_index_only_str(g): - return "\n".join(get_index_only(g))