Commit Graph

155 Commits

Author SHA1 Message Date
Stephen Mardson McQuay ba1fd5e3a4 added a bootstrap script for queue interaction 2011-04-01 14:25:27 -06:00
Stephen Mardson McQuay dbba5c4044 bug fix 2011-03-31 21:19:20 -06:00
smcquay 6874e95cfe caught exception when we search too long for points, and changed the myname variable to be hostname+pid 2011-03-31 20:26:22 -06:00
smcquay 9ba591bbfd added some more useful verbosity 2011-03-31 20:11:47 -06:00
Stephen McQuay 3e6018aa45 added explanation for extra sleeping in while loop 2011-03-30 23:15:37 -06:00
Stephen McQuay 16bfca3bd5 added sleep to try to fix bug 2011-03-30 23:09:10 -06:00
Stephen McQuay 1401f5b2ec need to revert: adding datetime to debug code 2011-03-30 22:29:04 -06:00
Stephen McQuay 05c95e0950 need to revert: trying to debug wrong name being sent over 2011-03-30 22:26:40 -06:00
Stephen McQuay d5f252aff2 got it so that the master must send an explicit kill for the slaves to shutdown 2011-03-30 22:00:13 -06:00
Stephen McQuay 22153648fa minor: bugfix 2011-03-30 21:37:12 -06:00
Stephen McQuay d761bfceba made it so that one can persist the slaves 2011-03-30 21:34:44 -06:00
Stephen McQuay 2c13ec8c4c major: added progressbar, options, shelving, etc 2011-03-30 21:12:16 -06:00
Stephen McQuay 25c023ce37 minor: port change 2011-03-30 20:27:42 -06:00
Stephen McQuay 71454ee362 bug fix: port was provided as option, but not used 2011-03-30 19:45:47 -06:00
Stephen McQuay 0cc5fedb75 renamed the submit script
--HG--
rename : bin/submit.py => bin/master.py
2011-03-30 18:43:39 -06:00
Stephen McQuay 4fd0780442 the 'submit' script now times and reports things correctly 2011-03-30 18:36:28 -06:00
Stephen McQuay 13ff63bb9b starting to add robustness to distributed scripts 2011-03-30 16:04:49 -06:00
Stephen McQuay d4aea22e0b updated slave to take options 2011-03-30 10:36: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 McQuay 5a44bf3fdd minor whitespace tweak 2011-03-29 08:16:13 -06:00
Stephen McQuay bcbf751b4b minor: bugfix for my progressbar addition 2011-03-28 22:35:45 -06:00
Stephen McQuay fad88725e3 added a progress bar 2011-03-28 22:26:58 -06:00
Stephen McQuay 487c132d12 moved files around: now the grid benchmark/test script is gbench.py
--HG--
rename : bin/gmsh_bench.py => bin/gbench.py
2011-03-28 21:08:54 -06:00
Stephen McQuay c1fd006ee7 cleaned up imports 2011-03-28 19:25:35 -06:00
Stephen McQuay bf791deeb6 merged the gmsh meshes (2/3D) into a single mesh, updated other files to support this 2011-03-28 19:07:19 -06:00
Stephen McQuay f09a5b9da6 minor import tweak 2011-03-28 18:46:59 -06:00
Stephen McQuay 7a3c6f800f modified perms 2011-03-28 15:37:19 -06:00
Stephen McQuay 97ed85eda7 found a working blender plot script
--HG--
rename : bin/plot.py => tools/blender/plot.py
2011-03-28 11:48:17 -06:00
Stephen McQuay d8f297fcc6 removed test file 2011-03-28 10:13:04 -06:00
Stephen McQuay 7f0d8e0589 got this test file to work appropriately 2011-03-28 10:12:57 -06:00
Stephen McQuay b8cb32d819 minor: needed cells, not faces 2011-03-25 14:21:25 -06:00
Stephen McQuay 0edc8c192e added an extra option 2011-03-24 16:08:01 -06:00
Stephen McQuay 854545a92b modified to work with latest imports 2011-03-24 15:51:53 -06:00
Stephen McQuay 385294a040 won't be needing these 2011-03-24 15:48:50 -06:00
Stephen McQuay 928a4ccdab made the 'connectivity' tests work (whatever they were) 2011-03-24 15:48:36 -06:00
Stephen McQuay e8414417a5 removed pointless script 2011-03-24 15:17:54 -06:00
Stephen McQuay 24fa65bc90 fixed shabang line 2011-03-24 00:38:55 -06:00
Stephen McQuay d001719447 added dgrid bench script, also ignored another couple of directories 2011-03-24 00:36:49 -06:00
Stephen McQuay c7b9731ee7 moved and merged the gmsh test script
--HG--
rename : bin/parse_gmsh3D.py => bin/gmsh_bench.py
2011-03-24 00:28:04 -06:00
Stephen McQuay 6234f8ffe8 moderate: cleaned up file, used library funcs 2011-03-21 12:13:46 -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 McQuay dbe981c24b added slave code 2011-03-02 23:51:43 -07:00
Stephen McQuay 6e4d8c9505 joining code 2011-03-02 23:44:08 -07:00
Stephen McQuay 639f732fce minor rename
--HG--
rename : bin/client.py => bin/master.py
2011-03-02 23:27:27 -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 McQuay 6ba2a2c624 minor: notes on profiling ... will delete 2011-02-21 16:48:21 -07:00
Stephen McQuay e8b15c14e2 used different exact func 2011-02-20 19:23:57 -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 McQuay f03da63c4d messing around with the gmsh3D parser 2011-02-15 15:22:54 -07:00
Stephen McQuay 6bc5908a9b renamed pattern test functions to be more meaningful 2011-02-15 11:12:56 -07:00
Stephen McQuay 26196cd14b migrated test 2011-02-03 09:36:24 -07:00
Stephen McQuay 33106985e1 working test, moving into a real test 2011-02-03 09:30:32 -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 McQuay debfd4515a nothing 2011-01-28 12:21:26 -07:00
Stephen Mardson McQuay 2471f650bc updated some imports 2010-11-08 16:25:09 -07:00
Stephen McQuay 8dff2747fd still proving out the 3D gmsh class, added correct funcs (3D) to the driver 2010-11-01 20:20:05 -06:00
Stephen McQuay 8c0eb66e0b added a bunch of random point checks 2010-11-01 20:19:09 -06:00
Stephen Mardson McQuay 456ecf759f added one more 2D gmsh test case 2010-11-01 15:52:45 -06:00
Stephen Mardson McQuay 17b22c173d added a 3d gmsh test script 2010-11-01 15:51:40 -06:00
Stephen Mardson McQuay 699d0c1796 started testing the parametric varying of the solution scheme 2010-10-29 12:39:45 -06:00
Stephen McQuay 7d32f4391f updated imports, and changed smberror to Exception 2010-10-23 17:06:11 -06:00
Stephen McQuay 2eaec8268c created a distince gmsh 2D plugin 2010-10-23 16:57:44 -06:00
Stephen McQuay 71761dd5a1 removed uneccesarry import from blender plotting file 2010-10-23 16:56:52 -06:00
Stephen McQuay 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
Stephen McQuay 91c8a661f4 working 2D gmsh parser 2010-10-22 09:20:59 -06:00
Stephen McQuay e4988fd150 implementing a 2D mesh object for gmsh files 2010-10-06 12:15:09 -06:00
Stephen McQuay 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 McQuay 3a1c13bcac implemented a function that will be used to provide a generic n-th order, nth-dimension error approximation function 2010-05-04 23:03:07 -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 McQuay 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 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 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
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
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
smcquay@cfdviz2 a25e6d03d1 partially implemented using new data structure in point lookup
I spoke with Dr. Gorrell about first trying to call the nearest-neighbor routine, releasing the trapped exception where the matrix ends up being singular, and trapping it in the grid object's run_baker, where I could then call the connectivity-based lookup routine. Those are my next steps, as well as starting to think about pushing the 3D front ahead this week.
2010-02-26 14:44:29 -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
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 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