Commit Graph

38 Commits

Author SHA1 Message Date
e22a95c360 changed import 2011-03-23 11:16:31 -06:00
8aad7a596e removed unused import 2011-02-15 11:49:00 -07:00
9827035e72 made it so I can call all tests at once
--HG--
rename : test/2dcubic.py => test/cubic2d.py
rename : test/2dquadratic.py => test/quadratic2d.py
2011-02-15 11:27:45 -07:00
6bc5908a9b renamed pattern test functions to be more meaningful 2011-02-15 11:12:56 -07:00
28711318d5 added a test for the pattern
--HG--
rename : bin/pattern.py => test/pattern.py
2011-02-15 11:10:00 -07:00
Stephen Mardson McQuay
ea8821fbff commented out the connectivity construction 2011-02-15 09:03:33 -07:00
ec73a6a04e minor: mostly documentation and logging 2011-02-11 00:30:10 -08:00
c34f9c911a testing other equations 2011-02-03 09:45:11 -07:00
6bfaa20d40 renamed test files
--HG--
rename : test/cubic.test.py => test/2dcubic.py
rename : test/quad.test.py => test/2dquadratic.py
rename : test/baker.test.py => test/baker2d.py
rename : test/baker.order.test.py => test/baker2dorder.py
rename : test/baker3D.test.py => test/baker3d.py
rename : test/qhull.test.py => test/qhull.py
2011-02-03 09:38:44 -07:00
26196cd14b migrated test 2011-02-03 09:36:24 -07:00
9a439ef7c3 this test tends to succeed more often :) 2011-02-03 09:30:58 -07:00
Stephen Mardson McQuay
2329479a64 minor 2011-02-02 11:52:53 -07:00
Stephen Mardson McQuay
046e24b67d made the get_phis and qlinear functions work independant of dimension 2011-02-02 10:56:20 -07:00
f1cd3061d7 made the tests more meaningful (they don't false negative) 2011-01-29 14:59:32 -07:00
ba848f6924 if order doesn't matter, the test for baker stuff is back online 2011-01-26 22:52:39 -07:00
Stephen Mardson McQuay
53d555914e used verts instead of points 2010-11-08 16:26:20 -07:00
4954633cb1 need to investigate what I was smoking in interp.baker.get_error before I can revive my baker 2D tests 2010-11-01 20:44:18 -06:00
Stephen Mardson McQuay
3aefd7b75c made one test approximate 2010-11-01 15:50:54 -06:00
Stephen Mardson McQuay
656394e747 updated for directory structure changes 2010-10-29 21:34:15 -06:00
eadfa46e57 middle of refactor 2010-10-23 13:49:15 -06:00
2db4169bfa major refactoring
--HG--
rename : lib/baker/__init__.py => interp/baker/__init__.py
rename : lib/grid/DD.py => interp/grid/DD.py
rename : lib/grid/DDD.py => interp/grid/DDD.py
rename : lib/grid/__init__.py => interp/grid/__init__.py
rename : lib/grid/qhull.py => interp/grid/qhull.py
rename : lib/grid/simplex.py => interp/grid/simplex.py
rename : lib/grid/smcqdelaunay.py => interp/grid/smcqdelaunay.py
rename : lib/baker/tools.py => interp/tools.py
2010-10-22 16:10:58 -06:00
e4988fd150 implementing a 2D mesh object for gmsh files 2010-10-06 12:15:09 -06:00
2cbd92e15b wrapping up a night. there isn't enough consistent improvement to merit using this method. i must have a bug somewhere. 2010-04-29 23:29:35 -06:00
Stephen Mardson McQuay
0a388ff1b5 trying to guarantee a containing simplex 2010-04-23 09:58:30 -06:00
Stephen Mardson McQuay
3efe335563 moved the quadratic error calculation out of the baker method, and added a cubic version too 2010-04-02 11:06:17 -06:00
Stephen Mardson McQuay
700ccc8c25 created a test for tesing the cubic interpolation 2010-03-20 20:09:46 -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
993c901cec properly catching the LinAlgError. also, prepping to change the run_baker method (more generic) 2010-03-20 11:34:24 -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
9836fdcbfe added files. still not consistently getting better numbers 2010-03-18 23:32:24 -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
Stephen Mardson McQuay
9a1b8d14b2 finally added proper (in my opinon) exception handling to the grid's run_baker method. it should properly autocorrect, and switch the extra point lookup scheme to connectivity-based if solving the system of equations yields a singular solution 2010-03-05 08:58:07 -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
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
Stephen Mardson McQuay
f4b2c95cf5 working on adding 3D baker. also starting to massage together a good baker method test (2D), and added a stub file for 3D testing 2010-01-29 11:56:52 -07:00
Stephen Mardson McQuay
961b3b7b26 init 2009-12-27 10:48:27 -07:00