Commit Graph
7033 Commits
Author SHA1 Message Date
Ryan Curtin e59c15cc53 Add an overload of data::Save() that was necessary for trunk allnn. 2011-01-21 19:37:09 +00:00
Ryan Curtin ef82ad6ad7 Fix bug in TextLineReader::ReadLine_().
The method will loop until it finds \r or \n at the end of the string.  This is a valid approach,
but what happens when the length we chose to fgets() with only gets the \r?  We end up with a line
that's just \n and the whole thing crashes out.  Therefore, after every fgets() we have to check that
the \n isn't the next character.  If so, keep it; if not, step the file pointer back.

And this is precisely why we should be depending on something else to do this for us, not our own code.
2011-01-21 19:36:52 +00:00
Ryan Curtin 3ce979d6f4 Refactor AllNN into header and source file since it's not a templated class (that may change). Copy the main executable over from trunk, where I modified it more heavily, then transition to armadillo components. 2011-01-21 19:34:10 +00:00
(no author) 54d2ddd8b4 -
Dongryeol Lee d2c018f69a Prioritization changed. 2011-01-21 16:22:02 +00:00
houyang 690d1e4d1d 2011-01-21 04:48:48 +00:00
Dongryeol Lee fac397eda7 Need to write a non-sampling based binary tree builder. 2011-01-21 04:45:05 +00:00
Dongryeol Lee 408959f6dc Warning fix. 2011-01-20 23:13:24 +00:00
Dongryeol Lee 75bc87ce0d Some bug fixes. Now that we are using a pq, we need to maintain the subtables from previous round, but need to think about throwing out old-unused tables. 2011-01-20 23:12:56 +00:00
houyang b97812f4e3 2011-01-20 20:52:56 +00:00
James Cline 9e3ec57a5f Converted to stl stuff, still some bugs 2011-01-20 19:26:05 +00:00
Dongryeol Lee b96534c5a7 Will finish 2011-01-20 04:00:23 +00:00
Dongryeol Lee d4a0d9b4f4 Starting kernel independent FMM. 2011-01-20 02:56:34 +00:00
Dongryeol Lee 64ef885555 Fixing the pruning rule. 2011-01-19 22:33:12 +00:00
(no author) 635747a67d -
Dongryeol Lee 0e9e93e1bf Quick tweak. 2011-01-19 21:30:55 +00:00
Dongryeol Lee 5eed83f1a1 Going. 2011-01-19 21:01:46 +00:00
Dongryeol Lee 07b3c6c801 Adding in the absolute error approx. 2011-01-19 20:44:34 +00:00
Dongryeol Lee 789ce56dbe More commenting. 2011-01-19 18:14:44 +00:00
Dongryeol Lee 97a6ed2d51 Short comments. 2011-01-19 16:52:06 +00:00
houyang 30f98f72fd 2011-01-19 16:23:32 +00:00
Dongryeol Lee 51339efd85 Another fix. 2011-01-19 02:14:58 +00:00
Dongryeol Lee 81a8882ed5 Another. 2011-01-19 02:11:28 +00:00
Dongryeol Lee 75f6ff3206 Another. 2011-01-19 02:08:58 +00:00
Dongryeol Lee d968b5797a Compile error fix on Hogwarts. 2011-01-19 02:07:50 +00:00
Dongryeol Lee 64c7b835aa Changed distributed dualtree to use priority queue. 2011-01-19 02:03:46 +00:00
(no author) 3072710cbe -
Dongryeol Lee cea1364f4b Quick fix. 2011-01-18 21:46:51 +00:00
(no author) 49397d4eca -
James Cline a0856989ec Nothing in this file is used anymore. 2011-01-18 19:42:40 +00:00
Dongryeol Lee 03f4f1ed34 Minor fix. 2011-01-18 18:03:47 +00:00
Dongryeol Lee f7ad801d50 Series expansion bugs in p^D fixed. 2011-01-18 17:24:59 +00:00
Dongryeol Lee 7b6365e274 Slight bug in p to the d, will fix today. 2011-01-18 05:39:00 +00:00
Dongryeol Lee c7fd8096df Done for tonight. 2011-01-18 04:42:37 +00:00
Dongryeol Lee 71a668c580 Testing the farfield expansion. 2011-01-18 04:17:44 +00:00
Dongryeol Lee 17a068f9f1 Epanechnikov expansion test added. 2011-01-18 03:55:54 +00:00
Dongryeol Lee 06117daf4a Getting the test to work. 2011-01-18 03:42:29 +00:00
Dongryeol Lee fd22e8552e Slowly fixing the compile error. 2011-01-18 02:32:00 +00:00
Dongryeol Lee 122c901b62 The global mapping test for series expansion passes, now plugging in farfield and local expansions into the test. 2011-01-18 01:59:10 +00:00
Dongryeol Lee 82b9c27f7e More fixes. 2011-01-18 01:47:27 +00:00
Dongryeol Lee 65f17ae8f7 Compile fix. 2011-01-18 01:04:09 +00:00
Dongryeol Lee 9781494ffa Almost done cleaning up Cartesian series expansion. Now have to work on the test driver. 2011-01-18 00:17:30 +00:00
(no author) c527bc3115 -
Dongryeol Lee 37f6546b50 More overhaul, getting closer to cleaning up series expansion. 2011-01-17 21:08:37 +00:00
Dongryeol Lee 46bc40c70c Complie error fix. 2011-01-17 20:33:10 +00:00
Dongryeol Lee f1a09b4a61 Almost there. 2011-01-17 20:21:31 +00:00
Dongryeol Lee 9f6f817781 More surgery. 2011-01-17 19:50:08 +00:00
(no author) 98433331f5 -
Dongryeol Lee b64731148f Added the sanity test for three-body. 2011-01-17 19:31:54 +00:00
Dongryeol Lee e362732c32 Will continue after lunch. 2011-01-17 18:29:05 +00:00