Commit Graph

679 Commits

Author SHA1 Message Date
Steven Watanabe
a7e0a71181 Added failing test for a system with base units whose dimensions are more complex. MUST FIX
[SVN r45853]
2008-05-28 03:40:00 +00:00
Steven Watanabe
f009822495 Fix direct access to val_ inside operator-=
[SVN r45851]
2008-05-28 03:09:45 +00:00
Steven Watanabe
15542ae1b6 Removed unused variable warning
[SVN r45850]
2008-05-28 02:52:56 +00:00
Steven Watanabe
16affec455 Added fix for como
[SVN r45848]
2008-05-28 02:31:51 +00:00
Matthias Schabel
bb535e930d simplify typename_format output more
[SVN r45836]
2008-05-27 22:22:00 +00:00
Matthias Schabel
d3099d2f3f add a typename_format formatter that outputs the unit typename (somewhat simplified, demangled on GCC only)
[SVN r45835]
2008-05-27 21:42:22 +00:00
Matthias Schabel
0095a7fb23 preliminary raw_format stuff (not working)
[SVN r45821]
2008-05-27 17:16:48 +00:00
Matthias Schabel
de2bd39f87 fix errors in angular units
[SVN r45820]
2008-05-27 17:16:25 +00:00
Matthias Schabel
ba5e10127b note corrected behavior
[SVN r45808]
2008-05-27 03:55:38 +00:00
Matthias Schabel
cf98c8184e rename atomic_and_nuclear_constants.hpp atomic-nuclear_constants.hpp
[SVN r45807]
2008-05-27 03:45:16 +00:00
Steven Watanabe
66bcbcc231 Fixed copyright/licence
[SVN r45806]
2008-05-27 02:28:09 +00:00
Steven Watanabe
46d670be61 Removed tabs
[SVN r45805]
2008-05-27 02:09:20 +00:00
Steven Watanabe
7bebcd5c01 Fixed multi-line comment warning
[SVN r45804]
2008-05-27 01:09:59 +00:00
Steven Watanabe
ee66c7fc8b Fixed use of dim instead of heterogeneous_system_dim and added missing disambiguating overloads
[SVN r45803]
2008-05-27 00:50:33 +00:00
Steven Watanabe
b0d655e8cb Made it possible for the formatting functions to find the SI and CGS overloads of name_string and symbol_string for scaled units
[SVN r45801]
2008-05-26 23:20:52 +00:00
Steven Watanabe
587f865a12 io fixes
[SVN r45800]
2008-05-26 23:10:28 +00:00
Matthias Schabel
27494c6b86 fix inconsistent naming of EM dimensions
[SVN r45798]
2008-05-26 23:08:33 +00:00
Matthias Schabel
31777c4dfc note that we don't wan't symbol/name_string to work for quantities
[SVN r45797]
2008-05-26 22:55:50 +00:00
Matthias Schabel
7e10c1e9ea try to reach 80 characters per line without making things too ugly
[SVN r45796]
2008-05-26 22:50:34 +00:00
Matthias Schabel
2188af7eae add angular momentum and moment of inertia
[SVN r45795]
2008-05-26 22:48:09 +00:00
Steven Watanabe
e5825de722 Removed unneeded #include
[SVN r45794]
2008-05-26 22:21:44 +00:00
Steven Watanabe
a1a7e6fcb2 Added missing #includes
[SVN r45793]
2008-05-26 21:25:38 +00:00
Matthias Schabel
b28c38cadc add inlines
[SVN r45792]
2008-05-26 21:22:03 +00:00
Steven Watanabe
ce577a6e78 Fixed unused variable warnings
[SVN r45791]
2008-05-26 21:08:54 +00:00
Matthias Schabel
1e1a33f982 remove electric_potential from cgs - we're not supporting cgs units of EM because of complexities stemming from multiple divergent formulations
[SVN r45789]
2008-05-26 19:57:48 +00:00
Matthias Schabel
639ba63a13 fix type name demangling and replace boost regex with boost string_algo
[SVN r45787]
2008-05-26 19:48:23 +00:00
Steven Watanabe
61c819a002 Fixed cgs/io.hpp
[SVN r45786]
2008-05-26 19:48:21 +00:00
Matthias Schabel
cd8286dc77 minor tweaks
[SVN r45780]
2008-05-26 17:34:33 +00:00
Matthias Schabel
ec48201908 symbols&names for some common cgs units
[SVN r45779]
2008-05-26 17:30:51 +00:00
Matthias Schabel
4e7ea1ff48 fix some problems with output
scaled unit/quantity output still has bugs, demonstrated in examples/composite_output.cpp

[SVN r45776]
2008-05-26 17:18:02 +00:00
Matthias Schabel
87000d9d6b rework I/O to use name_string and symbol_string free functions to create string representation of unit.
almost everything works, except a minor problem with scaled quantities

[SVN r45761]
2008-05-26 03:34:42 +00:00
Matthias Schabel
d79ae695a5 preliminary stuff for name_string/symbol_string
[SVN r45758]
2008-05-26 01:00:14 +00:00
Matthias Schabel
da3cbee35e change scale methods :
symbol_prefix->symbol
name_prefix->name

[SVN r45757]
2008-05-26 00:59:12 +00:00
Matthias Schabel
6d70e4f71e demo of problem with current method of overloading operator<< for unit output
[SVN r45751]
2008-05-25 21:00:32 +00:00
Steven Watanabe
0f1b618be2 Renamed dimension_list to list because its being used all over the place for lots of other purposes as well...
[SVN r45735]
2008-05-24 19:41:19 +00:00
Steven Watanabe
e093637eac Allow for printing unit names
[SVN r45732]
2008-05-24 17:21:54 +00:00
Steven Watanabe
d63cd50345 Removed tabs
[SVN r45654]
2008-05-22 13:51:17 +00:00
Steven Watanabe
92c7e688d7 Fixed copyright/license
[SVN r45652]
2008-05-22 13:28:33 +00:00
Steven Watanabe
e2f9a42615 Fixed cmath.hpp trig functions
[SVN r45637]
2008-05-22 04:50:54 +00:00
Steven Watanabe
07039fa562 Added missing inlines and added a test for this problem
[SVN r45636]
2008-05-22 04:14:33 +00:00
Steven Watanabe
cbaf6b9acd Grrr... msvc 9.0 finds boost::math::pow by ADL
[SVN r45635]
2008-05-22 03:45:34 +00:00
Matthias Schabel
a369f7d753 added comment
[SVN r45629]
2008-05-21 22:23:11 +00:00
Matthias Schabel
ffa1c04eaf shouldn't need explicit namespace qualification of pow now
[SVN r45597]
2008-05-21 05:33:34 +00:00
Matthias Schabel
f2c805c166 add EM physical dimensions to catch-all header
[SVN r45596]
2008-05-21 05:28:54 +00:00
Steven Watanabe
1514b8a4c0 Added unit scaling and updated metric prefixes accordingly
[SVN r45595]
2008-05-21 04:53:12 +00:00
Matthias Schabel
1778849826 refactor physical dimensions out of SI electromagnetic units into separate physical_dimensions headers
fix namespace issue in examples/quaternion.cpp

[SVN r45593]
2008-05-21 03:59:19 +00:00
Matthias Schabel
a51156aa4b change to use base_unit::unit_type and get_system<>
[SVN r45590]
2008-05-20 21:30:29 +00:00
Steven Watanabe
02ee04ecc6 Fix for sun. (Very few tests pass on sun, right now. Still need to work on it)
[SVN r45564]
2008-05-19 20:29:46 +00:00
Steven Watanabe
006997a3fb Added missing calls to reduce_unit
[SVN r45563]
2008-05-19 20:24:28 +00:00
Matthias Schabel
6a43b40cd7 minor
[SVN r45562]
2008-05-19 20:17:03 +00:00