forked from olsonse/olson-tools
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChangeLog
1913 lines (1233 loc) · 79.4 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
commit 6fcf3b4c22de09f86fd0a5168ab780770ac87c33
Author: Spencer E. Olson <olsonse@olsonse-laptop.(none)>
Date: Wed Nov 4 14:36:26 2009 -0700
added installation options
commit 835c722d0b6840cc6d7833dd3865b876a8225ef9
Author: Spencer Olson <olsonse@asok.hpmi.afrl.af.mil>
Date: Wed Nov 4 10:02:27 2009 -0700
fixed usage of va_start so that it is in line with the standard: can't use reference variables
commit 1dd5df8a1a9260ac4167ad0dc1015b0eb9923215
Author: Spencer E. Olson <olsonse@olsonse-laptop.(none)>
Date: Thu Oct 29 12:10:27 2009 -0600
added first cut of installation of libraries to a local stage directory
commit 65a3f215aaabf7c50dfbfa7bdeb66e9990e679e4
Author: Spencer E. Olson <olsonse@olsonse-laptop.(none)>
Date: Wed Oct 28 14:52:50 2009 -0600
added some warning documentation to upper_triangular and a function to access edge length of nxn matrix
commit 927a1dced58d441668d01b4526e3ab9021e06305
Author: Spencer E. Olson <olsonse@olsonse-laptop.(none)>
Date: Tue Oct 27 13:58:39 2009 -0600
small tweaks to remove compiler warnings....
commit bff625208e37a2f5228d8c474a41ff5de34d61d9
Author: U-OW\olsonse <olsonse@ow.(none)>
Date: Tue Oct 27 09:26:25 2009 -0800
Moved random stuff into olson_tools::random namespace when in c++.
This fixed some build problems on Cygwin. Changed other things to fix Cygwin
build.
Moved Timer.cpp and put its contents in a templated initialization variable in
Timer.h. Removed /olson-tools//timer library as Timer.h is now header only.
commit e5002d8662b620b529b60e087a7244de770d5e19
Author: Spencer E. Olson <olsonse@olsonse-laptop.(none)>
Date: Sat Oct 24 22:21:45 2009 -0600
added /olson-tools//xml lib-alias to make /physical//runtime pulled in.
commit 718562716a67f30cce176c10c34edcf98c8e2ba9
Author: Spencer E. Olson <olsonse@olsonse-laptop.(none)>
Date: Tue Oct 20 22:15:16 2009 -0600
added missing public declaration in upper_triangle
commit 112a8306d906e52522f5cce9d28f0b0020bb81f4
Author: Spencer E. Olson <olsonse@olsonse-laptop.(none)>
Date: Tue Oct 20 21:17:03 2009 -0600
added docs for the upper_triangle class
commit c0800f0bd86e87a2ad085748406629d39d14f77d
Author: U-OW\olsonse <olsonse@ow.(none)>
Date: Mon Oct 19 16:13:43 2009 -0700
Fixed fast_log2 unit test for cygwin and updated for boost>1.34.
/boost//unit_test_framework is also now linked statically
commit baa063e27fe004a35f61f7274df780eb688fa1f7
Author: Spencer Olson <olsonse@asok.hpmi.afrl.af.mil>
Date: Fri Oct 16 13:41:28 2009 -0600
Updated jam files in unit tests. Fixed use of new olson_tools::V3 in unit tests.
commit 5c6385e8521f346d689fe980d318b1cd402fb692
Author: Spencer Olson <olsonse@asok.hpmi.afrl.af.mil>
Date: Fri Oct 16 13:27:18 2009 -0600
updated jam files to split up olson-tools into sub-libs and use boost correctly
commit f0dab4b2ff4083402ba953eecee409b4142a2e98
Author: Spencer E. Olson <olsonse@olsonse-laptop.(none)>
Date: Thu Oct 15 13:09:34 2009 -0600
particledb->chimplib
commit a3db48ea00148d39cf8712cb5f213658051c8b30
Author: Spencer E. Olson <olsonse@olsonse-laptop.(none)>
Date: Thu Oct 15 12:43:02 2009 -0600
Fixed jamfiles for testTrapfe and testXML
commit d8ac568589c19811ad5f95838b65dca172408d0c
Author: Spencer E. Olson <olsonse@olsonse-laptop.(none)>
Date: Sat Oct 3 14:24:55 2009 -0600
removed old files from cvs that didn't get updated correctly
commit 64af3a9260a54bb232fe1415efa9a3946c05f939
Merge: 03a5c9d 6fb219b
Author: Spencer E. Olson <olsonse@olsonse-laptop.(none)>
Date: Sat Oct 3 14:11:30 2009 -0600
Merge branch 'master' of ../../git-svn/olson-tools into cvs-svn
Conflicts:
examples/fast_pow/c/testfast_pow.c
examples/fast_pow/fortran/testfast_pow.F
examples/options/main.h
examples/trapfe/README
commit 6fb219bd0580e8544ec04a3300bbd999224a1e11
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Fri Oct 2 13:34:11 2009 +0000
small fixes for ExecMerit and ExecFunc
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@843 e877f351-6dfb-0310-a246-97bd42f90100
commit bba3b00749e36b7026dd796b96962fc1527058fe
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Fri Oct 2 04:11:54 2009 +0000
still modernizing ga internals
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@842 e877f351-6dfb-0310-a246-97bd42f90100
commit 9370d9c335c5e9e740576def725fa32eea85608c
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Thu Oct 1 21:51:02 2009 +0000
tweaked log2 finding stuff when fast_log2 is not provided
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@841 e877f351-6dfb-0310-a246-97bd42f90100
commit 33c2e960fc960b95e25e15b3bb5fcf24994cb709
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Wed Sep 30 07:54:31 2009 +0000
ExecMerit changed to work in new ga configuration
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@840 e877f351-6dfb-0310-a246-97bd42f90100
commit bd0c180d91fa6935ed6f1df441761edb761a60a3
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Wed Sep 30 07:34:33 2009 +0000
Two types of changes:
1. PThreads stuff was improved in features. Still need to show efficiency.
2. Genetic algorithm was revamped some more. The Merit function is now a
Functor class. Updated examples to new usage.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@839 e877f351-6dfb-0310-a246-97bd42f90100
commit 6c4d2f9b55f5b9acb7bf9656cafd7b0a6c7b8d1c
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Tue Sep 29 21:06:20 2009 +0000
new ifdef guards in logger and PGI fixes for power.h
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@838 e877f351-6dfb-0310-a246-97bd42f90100
commit d1ea0e458bf606989c95fba6205d056116380684
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Tue Sep 29 15:04:42 2009 +0000
fixed some typos in ExecMerit.h
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@837 e877f351-6dfb-0310-a246-97bd42f90100
commit 9fd81bd5d8ac874d536dcbccbbf16f5224461359
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Thu Sep 24 19:16:42 2009 +0000
Forgot to commit deletion of old .hpp files.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@836 e877f351-6dfb-0310-a246-97bd42f90100
commit 2b891dcf355476331eee00a61f973eb7b71afcd8
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Thu Sep 24 19:15:15 2009 +0000
Forgot to commit trivial .hpp -> .h change.
Fixed typo in SharedCacheManager.
Fixed missing <>'s in testThreadedExecutor.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@835 e877f351-6dfb-0310-a246-97bd42f90100
commit 9832683d73c2226832ef796ee2600641c03256db
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Thu Sep 24 17:56:11 2009 +0000
Upgraded Vector class to remove macro use and move operators outside of class.
Updated everything in olson-tools to correctly use the new V3 function.
Small build tweaks also.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@834 e877f351-6dfb-0310-a246-97bd42f90100
commit 5255ec2384db8083e1961cd57d5b0a2f15bc5b40
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Fri Sep 11 07:10:29 2009 +0000
removed fmacros.h and all references to it
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@833 e877f351-6dfb-0310-a246-97bd42f90100
commit ba87fd68ca34ae6fcfd415839503d8954757d9f7
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Fri Sep 11 06:18:57 2009 +0000
power.[ch]: tweaked documentation. Moved powNImpl into detail namespace.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@832 e877f351-6dfb-0310-a246-97bd42f90100
commit 5520a0bc04cc436da64e7cab8b8685e9aa4794d1
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Fri Sep 11 06:00:37 2009 +0000
added copyright/license info to logger.[hc]
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@831 e877f351-6dfb-0310-a246-97bd42f90100
commit a732c766e136778f38b6509a55cf9acfef7cd1b9
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Fri Sep 11 05:46:53 2009 +0000
added documentation for SyncLock. Added WIN32 lock stuff. Added SyncLock::tryLock() function
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@830 e877f351-6dfb-0310-a246-97bd42f90100
commit af7eab65b004742fad17a188cc7d9dec3a97857d
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Fri Sep 11 04:40:29 2009 +0000
added an automatic Key for a non static SyncLock
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@829 e877f351-6dfb-0310-a246-97bd42f90100
commit 5bf6cb70082809d6016c7cc3bf080562f60fdadb
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Fri Sep 11 04:18:08 2009 +0000
Added olson-tools copyright/license header to many files.
Split out the synchronization stuff out of the memory.h file.
It now resides in SyncLock.h and there are some new
Resource Acquisition Is Initialization (RAII) classes and functor-based
functions. The new SyncLock set of functionality now also has a unit test.
Under bjam, the unit tests run for nothreads, pthreads, and OpenMP. These are
configured correctly for at least the gcc and Intel compilers.
fit/appspack/SharedCacheManager now uses the new RAII Syncronization interface.
got rid of a Makefile
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@828 e877f351-6dfb-0310-a246-97bd42f90100
commit c9a7445f0d57eca9fb52f46e4d2a5f65118a24c6
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Wed Sep 9 02:45:33 2009 +0000
examples/fit/appspack/ga-hybrid/testGAHybrid.cpp: changed local fit fraction to 0.5
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@826 e877f351-6dfb-0310-a246-97bd42f90100
commit 17f8123174d2484534d6c5189182d2391b472d5a
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Wed Sep 9 02:26:14 2009 +0000
Lots of small changes for optimizer stuff and thread stuff.
M src/olson-tools/PThreadCache.h
minor fixes
A src/olson-tools/PThreadEval.h
Added new Eval class because I keep reimplementing it (octrees,
threadedexecutor, etc.)
optimizer stuff:
M src/olson-tools/fit/Generation.h
all the Merit() evaluations in sort can now be done in threads. This is
particularly important when the merit function calls CAN be done
simultaneously (such as on a multiprocessor machine) AND the merit function
evaluations are particularly expensive.
fit/appspack:
Added shared cache implementation
otherwise, lots of incremental changes.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@825 e877f351-6dfb-0310-a246-97bd42f90100
commit 1be2d179370804c636acda76e639321d1a7466f5
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Thu Sep 3 21:31:48 2009 +0000
Lots of changes for the fit sub-packages.
The genetic algorithm is now starting to evolve to accept templated option
paramters. This allows us to change out the local optimizer, among other
things.
I added a ThreadedExecutor that is to be used with APPSPACK.
I also added an implementation of a local optimizer for the genetic algorithm
that can call APPSPACK.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@813 e877f351-6dfb-0310-a246-97bd42f90100
commit 35dfc9de735ec9baed8e797d53ebf218053ffdf6
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Wed Aug 26 04:41:17 2009 +0000
M src/olson-tools/PThreadCache.h
added MUTEX locks around max_threads
addTask resorts to serial execution when max_threads <= 1
M examples/threadcache/testPThreadCache.cpp
thread cache example now seems to work.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@798 e877f351-6dfb-0310-a246-97bd42f90100
commit aeb41fae83303856a6cafa754657a6f22fab4e60
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Wed Aug 26 03:39:13 2009 +0000
added PThreadCache example
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@797 e877f351-6dfb-0310-a246-97bd42f90100
commit 64c195e2cc4ddf9e0a9a9bae7cd01a9cbbcd1651
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Tue Aug 18 19:45:35 2009 +0000
reformatted for 2-spaces; Changed Vector::length() to static const unsigned int Vector::length. Same for SquareMatrix::[side_]length()
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@796 e877f351-6dfb-0310-a246-97bd42f90100
commit e4aa898808d8c021c74ab8b9633f7f0db537b1bb
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Sat Aug 15 14:04:32 2009 +0000
M src/olson-tools/fit/simfit.h
M src/olson-tools/fit/simfit.cpp
some formatting changes.
moved from <math.h> to <cmath> and likewise moved from fabs to std::abs.
defined the bounds_penalty for when something is beyond the specified
allowed bounds of a particular allele. This bounds penalty is now relative
to the value of the minfunc(...), e.i. 20*minfun(...), instead of just
arbitrarily '20'.
This should make the bounds functionality that I added many years ago more
general.
M examples/fit/simplex/testSimplex.cpp
some reformatting
iteractions are now printed correctly.
also now printing out the number of minfunc evaluations.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@795 e877f351-6dfb-0310-a246-97bd42f90100
commit 5fa3fcbb785a22f8e0cadb611207160bbd930239
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Tue Jul 28 22:29:18 2009 +0000
small changes.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@794 e877f351-6dfb-0310-a246-97bd42f90100
commit 21ab411bae7f3309a4bb6d6f2b8eb23a8faadc4e
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Fri Jul 17 05:49:40 2009 +0000
many changes revolving around changing xml namespace organization. some changes to fix previous changes in (now) separate physical library. Everything builds now--examples and unit tests. All unit tests pass (except for the fast_pow one still).
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@790 e877f351-6dfb-0310-a246-97bd42f90100
commit 9ccdd83452a1688133d6f90a69587f319418d6d5
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Thu Jul 16 19:40:16 2009 +0000
M src/olson-tools/xml/XMLDoc.h
added some operators ( <, == ) for XMLContext class.
M examples/xml/testXML.cpp
M examples/xml/Jamfile
environement variable can now be used to specify the XML file.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@788 e877f351-6dfb-0310-a246-97bd42f90100
commit a6595ddb06571350263aa6337b180ffc575965eb
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Fri Jul 10 22:06:17 2009 +0000
cleaned up a tiny bit
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@783 e877f351-6dfb-0310-a246-97bd42f90100
commit e2beb810e4f5730ffb865b4bf3b7a3c7f6eb226d
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Tue Jul 7 23:08:32 2009 +0000
M examples/random/testrand.cpp
Also timing olson_tools::Distribution class in comparison to other normal
distribution functions. Now using olson_tools::Timer for timing.
M examples/invertdistro/1D/testdist.cpp
Changed so as to use new physical library conventions.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@779 e877f351-6dfb-0310-a246-97bd42f90100
commit b14f1b56f3a2ffd3df4fa4ad09830739b2be7ac7
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Tue Jul 7 20:20:09 2009 +0000
tweaked system includes and added using commands for std::exp and std::sqrt
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@777 e877f351-6dfb-0310-a246-97bd42f90100
commit e35b3a6e87eb84d0c18d7bd060952e91dbd69bca
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Wed Jun 24 03:43:03 2009 +0000
moved Timing and associated classes into timing sub-namespace
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@775 e877f351-6dfb-0310-a246-97bd42f90100
commit fc1b926a185eca9a03369169afe1ba0eed7a9816
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Thu Jun 18 21:36:43 2009 +0000
M src/olson-tools/power.h
Added new powN function that can optimally perform x^y where y is an int.
Optimum performance has been implemented for -5<=y<=5. For all other
values powN resorts to using fast_pow(x,y).
M src/olson-tools/Vector.h
Vector::zero(), Vector::save_fabs(), Vector::save_sqrt() now return a const
reference.
olson-tools/m_eps* is replaced by <limits> and std::numeric_limits
M src/olson-tools/RKIntegrator.h
olson-tools/m_eps* is replaced by <limits> and std::numeric_limits
M src/olson-tools/logger.h
A + src/olson-tools/XSTR.h
uses new XSTR.h file to get XSTR macro
M src/olson-tools/data_set.h
M src/olson-tools/xml/XMLDoc.h
XMLContext::set use replaced by new XMLContext::list. Both are still
possible, but most functions use XMLContext::list.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@772 e877f351-6dfb-0310-a246-97bd42f90100
commit 9b6132c4d929edecb6f422737c4d1781a04f6025
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Tue Jun 16 22:32:37 2009 +0000
XMl changed results from set to list to help maintain original order
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@771 e877f351-6dfb-0310-a246-97bd42f90100
commit 0490ae9c05c859e0a0cb80f2353c204e5510a631
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Wed May 20 17:46:18 2009 +0000
Added timer::run<Functor>(Functor) to easily time a functor object. Cleaned up Timer code a little.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@765 e877f351-6dfb-0310-a246-97bd42f90100
commit 9e7e7a154b51f7d04a144b9ce2c90994418f34b9
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Tue May 12 15:27:39 2009 +0000
updated to work with new physical library
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@761 e877f351-6dfb-0310-a246-97bd42f90100
commit b6b8dd3685c385160ce82fee14ab4e4ed1dfa048
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Thu Apr 30 17:42:18 2009 +0000
tweaks of Bjam build sys to make things cleaner.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@750 e877f351-6dfb-0310-a246-97bd42f90100
commit 50b6acbce5cf7b387c09b590f36deb8d7ee5f5f1
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Fri Apr 17 15:51:34 2009 +0000
M logger.h:
Fixed for c++. I had broken it by wrapping the whole thing around in
"namesapce olson_tools". There were some includes (cstdio, windows.h,
pthread.h) that needed to be outside of this.
M Timer.h:
Added an AVERAGE mode for timing and fixed the CUMMULATIVE mode.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@743 e877f351-6dfb-0310-a246-97bd42f90100
commit e2b4cec111da69222ff7f811d304666fcb295f07
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Tue Apr 14 15:34:02 2009 +0000
some small improvements to testXML
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@742 e877f351-6dfb-0310-a246-97bd42f90100
commit 6b06bc49051b64832651fe99442bdd84d5116eae
Merge: 697cd91 8903046
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Thu Apr 2 16:29:47 2009 +0000
moving bjam + cmake build version to trunk
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@739 e877f351-6dfb-0310-a246-97bd42f90100
commit 890304681b70f6cbb5f566b40217fc99e856e6ab
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Thu Apr 2 16:27:34 2009 +0000
Added cmake build files; currently coexisting with bjam build files.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/branches/olson-tools/bjam-conversion@737 e877f351-6dfb-0310-a246-97bd42f90100
commit 8e7a943a3569112cacf4e4f8a880cce7aebef4fe
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Sat Mar 21 14:00:37 2009 +0000
M src/olson-tools/power.c,
M src/olson-tools/power.h:
Added new fast_log2 and logn functions.
For c++ fast_log2 and fast_pow are now implemented as static inline
functions. They are both also available for c-linking and fortran linking
after the library versions in power.c have been compiled.
M src/olson-tools/Vector.h:
switched math.h inclusion and functions to cmath and std::* where possible.
Added to_string() function for SquareMatrix.
M src/olson-tools/m_eps.h:
Got tired of linking issues when just trying to compile something that
needed M_EPS. This has now been changed to a const.
getMachineEPS was changed to getMachineEPS_double.
Added getMachineEPS_quad, M_EPSl, getMachineEPS_single, M_EPSf for
completeness.
A src/olson-tools/nsort/test/Jamfile
A src/olson-tools/nsort/map/test/Jamfile
A src/olson-tools/test/Jamfile
A src/Jamroot
M src/olson-tools/nsort/map/Makefile
M src/olson-tools/nsort/Makefile
A src/olson-tools/Makefile :
Added several Jam files to build unit tests. Makefiles for unit tests
have been changed to "cd test && bjam "
A src/olson-tools/ref_of.h:
Added new template utility to convert values (pointers and references) into
either pointer or reference values. Also, a template utility was added that
allows pointer and reference types to be converted into either pointer or
reference types.
A src/olson-tools/nsort/map/get_dims.h:
Added simple template utility class to calculate at compile time which of
_1D, _2D, or _3D class the user really wants.
M src/olson-tools/nsort/map/position_base.h:
pivot_ctrs was changed to pivot_ctor and places of use were updated.
Added and tweaked several unit tests. New fast_pow unit test does not yet work.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/branches/olson-tools/bjam-conversion@725 e877f351-6dfb-0310-a246-97bd42f90100
commit 67d47783e3083b4cb11ae5dd0ee78e0d912579ef
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Thu Mar 19 16:32:56 2009 +0000
src/olson-tools/Timer.h: Added a label string for each time to be used in ostream<< if its size is > 0
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/branches/olson-tools/bjam-conversion@724 e877f351-6dfb-0310-a246-97bd42f90100
commit b90435c628f2e29d6c3c7e47e36fcef92ee80c16
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Tue Mar 17 18:22:09 2009 +0000
Added tags to each of the maps to allow traversal of complete map types by
code to this library.
Removed ptr.h because the NSort class now automatically converts all types into
references before the map() function is called.
Cleaned up some various other stale code in the maps.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/branches/olson-tools/bjam-conversion@723 e877f351-6dfb-0310-a246-97bd42f90100
commit 3a2b37466e4deeb259d7a21036ce46edd10bb191
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Fri Mar 13 10:26:37 2009 +0000
mostly small changes and cleanup
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/branches/olson-tools/bjam-conversion@720 e877f351-6dfb-0310-a246-97bd42f90100
commit 29a274678b06ae146dee0aed4fd73e7bae0c6bb8
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Thu Mar 12 05:11:33 2009 +0000
Added new version of NSort algorithm where everything has been re-org'ed and new
maps have been added.
Added NSort testAndTimeSort example.
Added unit-tests for NSort and nsort::map::*
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/branches/olson-tools/bjam-conversion@717 e877f351-6dfb-0310-a246-97bd42f90100
commit 858c24859b9bf536fc7a31a20cd65a3ab4f27a22
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Sat Feb 28 23:59:03 2009 +0000
src/olson-tools/Vector.h: added <sstream> include for Vector::to_string
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/branches/olson-tools/bjam-conversion@709 e877f351-6dfb-0310-a246-97bd42f90100
commit 712f3bd70d42610904e7d10f4a7b47f3615235b2
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Sat Feb 28 22:53:42 2009 +0000
Added Vector::to_string function with optionally specified delimiter. Fixed small bug in SquareMatrix::col
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/branches/olson-tools/bjam-conversion@706 e877f351-6dfb-0310-a246-97bd42f90100
commit e499ffda9b7b13c5917f7ac382b9b7d210e888de
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Thu Feb 12 18:09:25 2009 +0000
added runtime:: prefix when using runtime::physical from quantity.h
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/branches/olson-tools/bjam-conversion@700 e877f351-6dfb-0310-a246-97bd42f90100
commit 7e0b3579f9e349aa5f657def0158004ef5fedb7a
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Thu Feb 12 18:03:45 2009 +0000
added runtime:: prefix when using runtime::physical from quantity.h
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/branches/olson-tools/bjam-conversion@699 e877f351-6dfb-0310-a246-97bd42f90100
commit 5525948a2478b3f38686edc11c9c66604680d99e
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Fri Jan 16 23:38:37 2009 +0000
removed old Makefile.am; tweaked fortran builds to work with fixed gcc/intel+fortran toolsets
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/branches/olson-tools/bjam-conversion@685 e877f351-6dfb-0310-a246-97bd42f90100
commit 7ae77e914f9498422c6cee0f4a212a75b840af16
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Fri Jan 16 22:06:38 2009 +0000
changed XML_FILENAME to PARTICLEDB_XML
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/branches/olson-tools/bjam-conversion@682 e877f351-6dfb-0310-a246-97bd42f90100
commit 697cd9166a448d37ece515041d7f18362b244576
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Fri Jan 16 21:59:27 2009 +0000
changed XML_FILENAME macro to PARTICLEDB_XML
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@681 e877f351-6dfb-0310-a246-97bd42f90100
commit 309d1fdc38391b46b23adaccd72c91b6f3f566b0
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Fri Jan 16 21:55:45 2009 +0000
Many changes to get things to compile.
Fixed most of Octree examples (except where a dependence on DSMC exists).
Added octree::Walker::walk and octree::Walker::recursive_walk functions to
aide in optimized octree walking.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/branches/olson-tools/bjam-conversion@679 e877f351-6dfb-0310-a246-97bd42f90100
commit c9955a085fca22dc2e02a54db341fc31154727b6
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Wed Jan 14 05:54:14 2009 +0000
finished tweaking 'physical' package. began updating the dsmc package
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/branches/olson-tools/bjam-conversion@674 e877f351-6dfb-0310-a246-97bd42f90100
commit bb437b9be349624276ed58c3542bc2ed7439e2d6
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Wed Jan 14 04:48:29 2009 +0000
consolidating 'physical' library package from olson-tools to its own package
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/branches/olson-tools/bjam-conversion@670 e877f351-6dfb-0310-a246-97bd42f90100
commit b703762578d166b5e127f2f2c070e2d6eae665e4
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Fri Jan 9 05:17:37 2009 +0000
olson-tools/Jamroot: small tweak
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/branches/olson-tools/bjam-conversion@659 e877f351-6dfb-0310-a246-97bd42f90100
commit 3e40aa4a9924510588164ecb60f4ee6dae85578b
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Fri Jan 9 00:26:54 2009 +0000
configuring boost.build for olson-tools (almost finished)
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/branches/olson-tools/bjam-conversion@658 e877f351-6dfb-0310-a246-97bd42f90100
commit 821603c6e07d8a1f6953d996180bbe604b6fc99d
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Wed Jan 7 21:00:38 2009 +0000
Creating bjam-conversion branch for olson-tools.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/branches/olson-tools/bjam-conversion@654 e877f351-6dfb-0310-a246-97bd42f90100
commit 561ca2c5855a9b60f880610ef4ab841ceb33563f
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Wed Jan 7 20:09:12 2009 +0000
restructuring repository
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/trunk/olson-tools@651 e877f351-6dfb-0310-a246-97bd42f90100
commit 8b31197eaafabb155b90fca044e26af8311b66ef
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Wed Jan 7 19:13:28 2009 +0000
forgot to add new *.h files to install list
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/olson-tools/trunk@640 e877f351-6dfb-0310-a246-97bd42f90100
commit e689fe3947506b76acef00ac2fe23b63279d3b63
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Wed Jan 7 06:44:26 2009 +0000
Added nsort stuff (3 header files: IteratorRange.h, nsort_maps.h, nsort.h)
tweaked various other files to work in correct olson_tools namespace
Added build files for new xml example.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/olson-tools/trunk@638 e877f351-6dfb-0310-a246-97bd42f90100
commit 6c3e7a1cd7f2404ec0efcadd452adc257bb5d979
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Mon Dec 22 20:32:39 2008 +0000
added xml parsing helper, upper_triangle (sparse matrix class), and a test case for xml stuff
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/olson-tools/trunk@636 e877f351-6dfb-0310-a246-97bd42f90100
commit b51bdc431e4b0b72dda1b129439f2110598de867
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Fri Dec 19 19:54:43 2008 +0000
src/m_eps.[hC]:
Changed M_EPS to an "extern double" so that it could be compiled into and
initialized in m_eps.C.
This ensures that code that does not need to use M_EPS does not have to
link to the compiled library (instead of just including library headers).
src/physical/*:
Added a few elements.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/olson-tools/trunk@628 e877f351-6dfb-0310-a246-97bd42f90100
commit d97492d216fdaf99976db104264b76023e46fc70
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Thu Dec 4 22:33:40 2008 +0000
various fixes to get things to compile
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/olson-tools/trunk@622 e877f351-6dfb-0310-a246-97bd42f90100
commit 529b22fe53939368a6904220be528047ce1ee181
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Tue Nov 25 22:23:17 2008 +0000
some small physical::Quantity changes
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/olson-tools/trunk@619 e877f351-6dfb-0310-a246-97bd42f90100
commit 5356ed14e05370ee5057f63f2b568e91c1abae37
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Tue Nov 25 22:21:20 2008 +0000
Various Vector/SquareMatrix things added.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/olson-tools/trunk@618 e877f351-6dfb-0310-a246-97bd42f90100
commit 21c6d850b6a17f7da921beb205a9a9118ab0aec2
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Mon Nov 24 20:12:54 2008 +0000
Most of these changes are due to putting <i>most</i> of the olson-tools
library inside of the olson_tools namespace. The remaining holdouts are the
physical library (already in its own physical:: namespace) and the random
library.
A few other changes:
1. simfit.C broken out again into its own file.
2. log* stuff put into olson_tools::logger:: namespace
3. Distribution.C removed after Distribution::~Distribution moved to .h file.
4. strutil.h:from_string now throws olson_tools::string_error upon bad
conversion.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/olson-tools/trunk@617 e877f351-6dfb-0310-a246-97bd42f90100
commit f2a0ead42477f1d1e005c18a99a8ea2bc37acd7e
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Fri Nov 21 14:39:07 2008 +0000
M src/config.h.in:
Minor changes
M src/physical/physical.h:
Began elements section.
M src/physical/calc/infix.h:
Added cascaded assignment operation (eq. 'a = b =c = 1')
M src/physical/calc/BaseCalc.h:
Reorged a little and added/fixed parser defs.
M src/physical/calc/units.h:
Added new element info.
M src/physical/quantity.h:
Added math printer and cleaned up interface to printing quantity<T> types.
M examples/physical/output/testOutput.C:
Fixed output for new printing methods.
M examples/physical/calc/interactive/Makefile.am,
M examples/physical/calc/parser/Makefile.am,
A examples/physical/calc/parser/Makefile.extra,
A examples/physical/calc/interactive/Makefile.extra:
Added Makefile options for compiling the calculator so that it doesn't
have to take so stinking long.
M examples/physical/calc/parser/testParser.C,
M examples/physical/calc/interactive/testInteractive.C:
updated for interface changes.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/olson-tools/trunk@616 e877f351-6dfb-0310-a246-97bd42f90100
commit f431a82169db1a5974760a200f50a7aba0cbc10e
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Fri Nov 14 23:51:32 2008 +0000
The major change is that I added a runtime units checking library to the
physical namespace.
All of the physical stuff was moved to olson-tools/physical/.
Also included is a calculator grammar parser for this new runtime units type.
This allows direct parsing of mathematical formulas that have units in them.
I have also added several examples for using the new units/constants library.
Foremost are two programs:
1. examples/physical/calc/interactive
This is a GNU units type of program, except that it doesn't do automatic
multiplication, nor the funky 'everything to the right of / is in
denominator. Otherwise, a pretty handy little program.
2. examples/physical/calc/parser
This demonstrates the single line parsing that might be useful in reading
in a user's entered physical quantity.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/olson-tools/trunk@615 e877f351-6dfb-0310-a246-97bd42f90100
commit e2d1f4aaf4364fbab0c8c9614d9bd3429fdb33e6
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Fri Nov 7 09:27:23 2008 +0000
src/physical.h: fixed small typo
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/olson-tools/trunk@614 e877f351-6dfb-0310-a246-97bd42f90100
commit 9e13a3b5179df9a0d223d1fa0f684649c68530cb
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Thu Nov 6 17:20:56 2008 +0000
Lots of various changes:
M src/options.h: added <strings.h> include
M src/Vector.h: made Vector comparators be const functions
M src/Fields.h: removed old AddVectorField/AddScalarField classes and
fixed AddField so that it can truly be used for all field
types.
M src/PThreadCache.h: removed octree builder; only need generic code here
M src/physical.h: Added 'milliKelvins' and 'microKelvins'
M src/Distribution.h: upgraded to work with newer gcc compiler (supposedly
the fixes bring the code more towards real compatibility
with the c++ spec)
M src/Timer.h: Added <string.h> include
M src/bfield.h: added "base" typedef to ThinWireSrc to satisfy the new
AddField class
M src/nothing.h: put in olson_tools namespace (still need to push this to
other classes/files)
M src/strutil.h: Added <algorithm> include
M src/util.C: Added <stdlib.h> include
M src/config.h.in: ...
M src/Makefile.am:Added PThreadCache.h to header list
M configure.ac: Added examples/field/addfield/Makefile to output list
M aclocal.m4: Upgraded to current autoconf on laptop, this will likely
have to be downgraded to work with other versions (and
the two last lines copied over to the downgraded version)
M examples/field/Makefile.am:
A examples/field/addfield:
A examples/field/addfield/Makefile.am:
A examples/field/addfield/testAddField.C:
Added addfield example
M examples/invertdistro/1D/testdist.C: trivial change
M examples/invertdistro/2D/testdist.C:
Fixed order of calls to pos_distrib.[xyz]()
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/olson-tools/trunk@613 e877f351-6dfb-0310-a246-97bd42f90100
commit 8f39093c2a107091acfd7f5d39be867eb6384632
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Thu Oct 23 21:43:40 2008 +0000
Moving generic PThread cache and task manager to the more generic olson-tools library.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/olson-tools/trunk@610 e877f351-6dfb-0310-a246-97bd42f90100
commit 298c6b470ce4f3eba62d56b3bd2cde720556422b
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Tue Sep 23 20:16:23 2008 +0000
fixed configure.ac so that fast_pow can be enabled after first execution of configure script.
git-svn-id: svn+ssh://sftp.itd.umich.edu/afs/umich.edu/user/o/l/olsonse/src/svn-repository/olson-tools/trunk@597 e877f351-6dfb-0310-a246-97bd42f90100
commit b25589913b4574e60e43a77db56f0433e9a8d88c
Author: olsonse <olsonse@e877f351-6dfb-0310-a246-97bd42f90100>
Date: Tue Sep 16 19:35:13 2008 +0000
save ChangeLog