Re: [Quantity-users] concentration unit
Brought to you by:
berndspeiser
From: Bernd S. <ber...@un...> - 2006-05-30 12:44:03
|
Bernd Speiser wrote: > Kai Ludwig wrote: > >> Hello Bernd, >> >> as far as I know, there is no >> >> mol/cm^3 >> >> unit supported for a concentration. >> Is there a special reason for this (maybe some >> difficulties concerning the implementation)? > > > Kai, > there is no specific reason. In fact, the idea is to have ALL > combinations of AmountOfSubstance and Volume units availabe > automatically (by template metaprogramming). However, this seems to slow > down the compiler so much that it is impossible to generate. Thus, I am > just making a list of selected units. It is not difficult to include > mol/cm^3 into this list. > I have to give a lecture in five minutes, so I can't fodo it right now, > but I'll include it in the afternoon and then make a commit to the cvs > version. > Regards > Bernd > OK, the units MolePerCubicCentiMetre and MilliMolePerCubicCentiMetre have been added to the Concentration units which are accessible by name in the current cvs version of Quantity. Please check it out. Bernd -- ======================================================================= Bernd Speiser Institut f"ur Organische Chemie Auf der Morgenstelle 18 D-72076 T"ubingen Germany phone: +49-7071-2976205 (office) +49-7071-2976242 (laboratory) fax: +49-7071-295518 e-mail: ber...@un... Internet: http://www.uni-tuebingen.de/speiser ======================================================================= |