Re: [Boost-bugs] [Boost C++ Libraries] #4418: units::electron_charge units::current incorrect

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4418: units::electron_charge units::current incorrect
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-07-10 20:25:39


#4418: units::electron_charge units::current incorrect
-------------------------------------------+--------------------------------
  Reporter: mejames7760.atatatat.att.net | Owner: matthiasschabel
      Type: Bugs | Status: new
 Milestone: Boost 1.44.0 | Component: units
   Version: Boost 1.40.0 | Severity: Problem
Resolution: | Keywords: units charge current
-------------------------------------------+--------------------------------

Comment (by mejames7760.atatatat.att.net):

 I have a tar file to send you but it exceeds the 256k limits. I spent the
 day changing units to work the way that I think that it should work. The
 tgz file as the modified units.tgz plus the test project. Please send me
 an email based my "reported by name" or download from
 "http://www.mj3.biz/church/unitsTestCase.tgz"

 I have to admit that this is confusing. And multiple places have
 conflicting information. However I think that having base units as
 defined at http://en.wikipedia.org/wiki/SI_base_unit (which has ampere as
 a base unit) and doing dimensional analysis as defined at
 http://en.wikipedia.org/wiki/Dimensional_analysis (which has charge as the
 base dimension)are two different but related things. And what boost:units
 tries to do is connect them in a way that a computer can understand.

 Your reference above is to base units not base dimensions.

 The problem is the way that dimensions were defined. Current and charge
 are not the same thing. I was trying to work a charge problem with no
 reference to time. So I couldn't create Coulomb's Constant with the right
 dimensions. With the modified boost::units it works perfectly.

 Thanks.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4418#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC