source: trunk/src/core/RpUnitsStd.h @ 511

Last change on this file since 511 was 511, checked in by dkearney, 18 years ago

moving all .h files to their respective src directories, updating tools.py to include python's re module, updated setup.py.in to use .h files from the installed version of rappture and to adapt to the new location of .h files. .h files are now all stored in the lib directory under the rappture installation folder. this should simplify people's code, so they dont have to include wierd search paths for header files. adjusted the paths in rappture.in, allowing people to use their own version of python and perl. octave on the other hand is still broken for people downloading our binary and not using libhdf5-1.6.2. src's makefile.in was modified to copy the .h files from the core and cee directories over to the rappture installation directory. the top level makefile.in has all kinds of changes mainly you can now type in ./configure --prefix=... --with-matlab=... and then make install. this will build and install the gui, language bindings, and examples. these changes will probably break the automatic builds but the necessary changes to the rappture-runtime package should be committed in good time.

File size: 2.2 KB
Line 
1/*
2 * ======================================================================
3 *  Copyright (c) 2004-2005  Purdue Research Foundation
4 *
5 *  See the file "license.terms" for information on usage and
6 *  redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
7 * ======================================================================
8 */
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14double centi2base (double centi);
15double milli2base (double milli);
16double micro2base (double micro);
17double nano2base (double nano);
18double pico2base (double pico);
19double femto2base (double femto);
20double atto2base (double atto);
21double kilo2base (double kilo);
22double mega2base (double mega);
23double giga2base (double giga);
24double tera2base (double tera);
25double peta2base (double peta);
26
27
28
29double base2centi (double base);
30double base2milli (double base);
31double base2micro (double base);
32double base2nano (double base);
33double base2pico (double base);
34double base2femto (double base);
35double base2atto (double base);
36double base2kilo (double base);
37double base2mega (double base);
38double base2giga (double base);
39double base2tera (double base);
40double base2peta (double base);
41
42
43
44double angstrom2meter (double angstrom);
45double meter2angstrom (double meter);
46double meter2inch (double meter);
47double inch2meter (double in);
48double meter2feet (double meter);
49double feet2meter (double ft);
50double meter2yard (double meter);
51double yard2meter (double yd);
52
53
54
55
56double fahrenheit2centigrade (double F);
57double centigrade2fahrenheit (double C);
58double centigrade2kelvin (double C);
59double kelvin2centigrade (double K);
60double rankine2kelvin (double R);
61double kelvin2rankine (double K);
62double fahrenheit2kelvin (double F);
63double kelvin2fahrenheit (double K);
64
65
66
67double electronVolt2joule (double eV);
68double joule2electronVolt (double J);
69
70
71
72
73double cubicMeter2usGallon (double m3);
74double usGallon2cubicMeter (double gal);
75double cubicFeet2usGallon (double ft3);
76double usGallon2cubicFeet (double gal);
77
78
79double rad2deg  (double rad);
80double deg2rad  (double deg);
81double rad2grad (double rad);
82double grad2rad (double grad);
83double deg2grad (double deg);
84double grad2deg (double grad);
85
86
87#ifdef __cplusplus
88}
89#endif
Note: See TracBrowser for help on using the repository browser.