Stephen Mardson McQuay
dbba5c4044
bug fix
2011-03-31 21:19:20 -06:00
Stephen Mardson McQuay
7285da3566
got rid of driver script since the current gbench.py does it all now
2011-03-29 18:57:15 -06:00
Stephen Mardson McQuay
69cb376c3c
fixed default grid type
2011-03-29 13:17:49 -06:00
Stephen Mardson McQuay
fda2246c14
handled case where there is no config file
2011-03-23 11:51:54 -06:00
Stephen Mardson McQuay
fca5a5c600
merge
2011-03-21 15:24:30 -06:00
Stephen Mardson McQuay
e856851f1e
moved the qhull generator into the base grid class
2011-03-21 15:24:25 -06:00
Stephen Mardson McQuay
b83dd04e14
made the messages a bit more verbose (can investigate for interpolation)
2011-03-03 00:59:47 -07:00
Stephen Mardson McQuay
8f6d8ddc50
minor: made the submit script start/end on sys.argv params
2011-03-03 00:59:31 -07:00
Stephen Mardson McQuay
89da68878a
meaningful input to submit script
2011-03-03 00:38:47 -07:00
Stephen Mardson McQuay
f125a653b1
working slave/master setup
2011-03-03 00:20:03 -07:00
Stephen Mardson McQuay
eefcc682cc
added something to consume the service
2011-03-03 00:03:52 -07:00
Stephen Mardson McQuay
cbc2d13e70
in progress
2011-03-03 00:01:46 -07:00
Stephen Mardson McQuay
8b1670fdc0
added a server
2011-03-02 23:26:04 -07:00
Stephen Mardson McQuay
58d651969e
added client
2011-03-02 23:15:14 -07:00
Stephen Mardson McQuay
da95afb14d
changed the 2D gmsh to work with new baker method
2011-02-20 19:23:01 -07:00
Stephen Mardson McQuay
ea8821fbff
commented out the connectivity construction
2011-02-15 09:03:33 -07:00
Stephen Mardson McQuay
8fcb91ebd2
merge
2011-02-07 09:40:01 -07:00
Stephen Mardson McQuay
7a1ef49934
minor
2011-02-07 09:39:48 -07:00
Stephen Mardson McQuay
6751a22adb
stubbed out a test for ordering
2011-02-02 18:40:23 -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
Stephen Mardson McQuay
53d555914e
used verts instead of points
2010-11-08 16:26:20 -07:00
Stephen Mardson McQuay
c6a9f38046
minor: removed useless improts, and changed used appropriate class variable
2010-11-08 16:25:59 -07:00
Stephen Mardson McQuay
2471f650bc
updated some imports
2010-11-08 16:25:09 -07:00
Stephen Mardson McQuay
93fec67cc7
refactored the term 'face' to 'cell' to match what I've found in literature
2010-11-08 15:07:48 -07:00
Stephen Mardson McQuay
075dd586a3
got annoyed by the egg folder, so have changed the name of the project
2010-11-08 15:04:41 -07:00
Stephen Mardson McQuay
8e83439a6d
the exact funcs now log what they're doing when they're called
2010-11-01 15:54:12 -06:00
Stephen Mardson McQuay
a5cae0eebe
starting to implement 3D test case by brute force, very ugly
2010-11-01 15:53:37 -06:00
Stephen Mardson McQuay
d6421524f3
realized I didn't need the exact_func in the grid object
2010-11-01 15:53:06 -06:00
Stephen Mardson McQuay
456ecf759f
added one more 2D gmsh test case
2010-11-01 15:52:45 -06:00
Stephen Mardson McQuay
37f056e49b
added 3D gmsh case
2010-11-01 15:52:03 -06:00
Stephen Mardson McQuay
17b22c173d
added a 3d gmsh test script
2010-11-01 15:51:40 -06:00
Stephen Mardson McQuay
81f1c6557a
added interactive prompt bootstraping code
2010-11-01 15:51:16 -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
Stephen Mardson McQuay
22a8855a99
removed the old baker error routines
2010-10-29 21:05:21 -06:00
Stephen Mardson McQuay
bcf1622f35
added a generic get simplex and points function to the grid
2010-10-29 12:43:18 -06:00
Stephen Mardson McQuay
57685a1c04
smblog -> log ... again
2010-10-29 12:42:05 -06:00
Stephen Mardson McQuay
e9fb1eab03
the gmsh grid object now instantiates its own KDTree
2010-10-29 12:41:39 -06:00
Stephen Mardson McQuay
967170d765
changed points to verts in baker
2010-10-29 12:40:32 -06:00
Stephen Mardson McQuay
699d0c1796
started testing the parametric varying of the solution scheme
2010-10-29 12:39:45 -06:00
Stephen Mardson McQuay
c5adab295b
minor: but i'm on the verge of implementing the cubic error term for 3D
2010-04-30 16:23:29 -06:00
Stephen Mardson McQuay
a1c88a186e
something about the changes I made (abs -> np.abs) made my stuff succeed more often
2010-04-30 11:56:01 -06:00
Stephen Mardson McQuay
3dcc10ea0e
working on the containing simplex problem. the get containing simplex function works, if the point is in the domain. I am trying to force the domain to contain the point (placing points along perimiter of the mesh). I am not doing that right, but have to run
...
--HG--
rename : bin/qhull-029.txt => data/qhull-029.txt
rename : bin/qhull-029.txt.gv => data/qhull-029.txt.gv
2010-04-24 18:26:44 -06:00
Stephen Mardson McQuay
cfcd1e15a2
working on the guarantee simplex routine. I have a test case to try it out against, and need to look at visiting neighbors of faces adjacent to points.
2010-04-23 16:29:31 -06:00
Stephen Mardson McQuay
0a388ff1b5
trying to guarantee a containing simplex
2010-04-23 09:58:30 -06:00
Stephen Mardson McQuay
79880acad4
fixed discrepancy with Baker's eq 17.
2010-04-09 15:03:16 -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
f089848a1b
i think part of my problem (why i'm not always getting win), is that i do not guarantee that the simplex contains the point (especially with the random clounds; i think that the connectivity-based lookup is doing that fine
2010-03-18 23:50:40 -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
a2d7b3f063
updated library files so that i don't have to edit the __init__.py files
...
--HG--
rename : lib/baker/__init__.py => lib/baker/baker.py
rename : lib/grid/__init__.py => lib/grid/grid.py
2010-03-08 14:30:22 -07:00
Stephen Mardson McQuay
b9ea6a3ac2
modified code to use Distribute (python's distribution framework)
...
one should simply run `python setup.py install` to install these librarires
2010-03-08 13:31:51 -07: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
2792329eaa
cleaned up the method (removed print statements) i'm ready to now add this method as an option to the mesh object
2010-02-21 20:52:51 -07:00
Stephen Mardson McQuay
a3d72ed200
wrote the method that returns grid objects based on connectivity
...
I'm going to hurry and clean up this method, but for now it is verbose, and uses sets. i'm going to just check it in for future reference
2010-02-21 20:42:32 -07:00
Stephen Mardson McQuay
0ef6897aee
made a simplex class, going to move this into the face class to simplify
2010-02-21 19:02:45 -07:00
Stephen Mardson McQuay
2cf9a0b574
mostly fixed a bug in my qdelaunay parsing. implemented a blender viewer ... mostly
...
the qdelaunay app doesn't alway display all faces for a point. lame. I worked around it by creating the point-> face relationships manually.
There is a max recursion something happeneing when I try to save so pickle. look into this.
I spent some time writing a visualizer for blender. 10 lines of code. simple stuff.
next steps would be to move the KDTree into the mesh object. GOOD LUCK (me)!!
--HG--
rename : bin/grid_driver.py => bin/grid_random.py
rename : bin/grid_driver.py => bin/grid_regular.py
2010-02-14 20:56:41 -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
9064663600
added face information to the grid. i need to parse and add point->face information ... somehow ...
2010-02-07 20:23:19 -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
2113abb8dc
minor: updated the .setup file
2010-01-31 20:51:25 -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