Commit Graph

15 Commits

Author SHA1 Message Date
0edc8c192e added an extra option 2011-03-24 16:08:01 -06:00
854545a92b modified to work with latest imports 2011-03-24 15:51:53 -06:00
7d32f4391f updated imports, and changed smberror to Exception 2010-10-23 17:06:11 -06:00
df35cb174b made a get_error function that is generic and functional. I'm still getting unsavory numbers for the cubic, 2-D case on my single test case. I will have to try out more refined grids, albeit the quadratic is consistently improving results for my case. 2010-05-05 23:03:12 -06:00
Stephen Mardson McQuay
1fc988428d putting together a simple test case so that I can test my quad/cubic interpolator 2010-03-20 17:10:02 -06:00
Stephen Mardson McQuay
bd8f24d64f working on implementing the cubic interpolation. need to split that routine out of the run_baker method 2010-03-19 21:27:51 -06:00
Stephen Mardson McQuay
b33159f8a9 working on getting baker to work in 3D. the code runs, but the numbers are odd. I suspect the rectangular grid, and am going to try a random cloud of points. 2010-03-18 23:18:59 -06:00
smcquay@cfdviz2
c5d8fff883 moved some files around to conform to python best practicies
--HG--
rename : lib/baker.py => lib/baker/__init__.py
rename : lib/tools.py => lib/baker/tools.py
rename : lib/grid.py => lib/grid/__init__.py
rename : lib/smcqdelaunay.py => lib/grid/smcqdelaunay.py
2010-03-08 13:05:42 -07:00
smcquay@cfdviz2
6c4c6d4cfe moved teh grid code into the grid class
by next friday i need to have implemented a way to select between normal kdtree point lookups, and nearest-neighbor lookups. Hopefully i'll have that done tonight.
2010-02-20 13:18:24 -07:00
Stephen Mardson McQuay
9ff48f4c12 minor: added point to facet information to the grid object
I really think that I need to create my own point object, and hang the facet information directly off of that. right now there are simply parallel arrays for q, numpy.array(x,y), and {point_index: [adjacent faces]} ...

work to be done!
2010-02-10 00:20:06 -07:00
Stephen Mardson McQuay
50daeb5d74 getting stuff from qdelaunay
mostly spent time trying to figure out subprocess (which i though i already understood). I am concerned for what will happen with large datasets.

next steps include:
1) design data struture
2) implement slurping of stdout into this structure
3) drink coke

--HG--
rename : lib/smcqhull.py => lib/smcqdelaunay.py
2010-02-07 00:01:02 -07:00
Stephen Mardson McQuay
f9973e7580 minor, updated the driver to handle linear case 2010-01-31 21:15:47 -07:00
Stephen Mardson McQuay
0f4daa9a9c fixed a little bug and getting good results again. still will have problems if you try to simply get a linear interpolation 2010-01-31 21:10:37 -07:00
Stephen Mardson McQuay
80720c45fe MAJOR: updated the baker method. it's more generic, and should allow me to 3D-ifiy it more simply. a ton of other things 2010-01-31 20:47:03 -07:00
Stephen Mardson McQuay
98b13fb8c5 merged the drivers, and am investigating the qdelauney manpage ... should've done this earlier :P
--HG--
rename : bin/driver-random.py => bin/driver.py
rename : test/utest.py => test/qhull.test.py
2010-01-30 12:15:00 -07:00