Boost logo

Boost :

Subject: [boost] [Boost.Units] non-integral unit exponents
From: Belcourt, Kenneth (kbelco_at_[hidden])
Date: 2009-10-09 18:17:19


Hi,

I'd like to use Boost.Units but am unsure whether I can declare a unit
like this:

        W/m^2 Pa^0.25 K^1.523

In addition, I'd like the ability to change the pressure (Pa) and
temperature (K) coefficients at runtime (user supplied input might
change the default coefficients). Are these things possible with
Boost.Units and, if so, could someone point me to an example? (I need
this for nucleate boiling curves).

Thanks.

-- Noel


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk