bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gsl] Electron charge in CGS(E)


From: Brian Gough
Subject: Re: [Bug-gsl] Electron charge in CGS(E)
Date: Tue, 21 Jul 2009 13:03:48 +0100
User-agent: Wanderlust/2.14.0 (Africa) Emacs/22.2 Mule/5.0 (SAKAKI)

At Mon, 20 Jul 2009 13:06:13 +0400,
Evgeny Kurbatov wrote:
> If the idea of gsl_const_cgs.h was to contain the constants from
> base CGS system only, we have to remove electron charge from it,
> then create gsl_const_cgse.h for right CGSE values.  Actually we
> have to add constants of vacuum permittivity and permeability for
> completeness.  If nobody dealing with it, I can because I'm
> interested in it.

The original situation was that I generated the 'cgs' values from
another source (GNU Emacs Calc) without checking what conversion it
used, simply assuming that it was correct. This resulted in some of
the electromagnetic values having inconsistent units.

So we migrated to gsl_const_cgsm.h to get away from that.

Your idea of creating gsl_const_cgse.h and removing old
electromagnetic constants from gsl_const_cgs.h sounds like a good one.
I have not attempted it due to lack of familiarity with the different
CGS systems, so I would be happy for anyone to have a go.

One issue is that the whole set of files is generated by Emacs Calc
(which has a multiple-precision unit conversion system), so it
requires some knowledge of Emacs Lisp and Calc to add new sets of
units.  The system is capable of handling arbitrary unit systems, but
unfortunately somewhat complicated.

-- 
Brian Gough
(GSL Maintainer)

Support freedom by joining the FSF 
http://www.fsf.org/associate/support_freedom/join_fsf?referrer=37




reply via email to

[Prev in Thread] Current Thread [Next in Thread]