My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros
units.h File Reference
#include <math.h>
Include dependency graph for units.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define M_PI   3.1415926535897932384626433832795029 /* pi */
 
#define M_E   2.7182818284590452353602874713526625 /* e */
 
#define MU0   12.566370614e-7 /* magnetic constant */
 
#define C0   299792458.0 /* speed of light in vacuum */
 
#define ZF0   376.73031346958504364963 /* wave resistance in vacuum */
 
#define UNIT_FREQ   0
 
#define UNIT_LENGTH   1
 
#define UNIT_RES   2
 
#define UNIT_ANG   3
 
#define FREQ_GHZ   0
 
#define FREQ_HZ   1
 
#define FREQ_KHZ   2
 
#define FREQ_MHZ   3
 
#define LENGTH_MIL   0
 
#define LENGTH_CM   1
 
#define LENGTH_MM   2
 
#define LENGTH_M   3
 
#define LENGTH_UM   4
 
#define LENGTH_IN   5
 
#define LENGTH_FT   6
 
#define RES_OHM   0
 
#define RES_KOHM   1
 
#define ANG_DEG   0
 
#define ANG_RAD   1
 

Macro Definition Documentation

#define ANG_DEG   0

Definition at line 73 of file units.h.

#define ANG_RAD   1

Definition at line 74 of file units.h.

#define C0   299792458.0 /* speed of light in vacuum */

Definition at line 44 of file units.h.

#define FREQ_GHZ   0

Definition at line 54 of file units.h.

#define FREQ_HZ   1

Definition at line 55 of file units.h.

#define FREQ_KHZ   2

Definition at line 56 of file units.h.

#define FREQ_MHZ   3

Definition at line 57 of file units.h.

#define LENGTH_CM   1

Definition at line 61 of file units.h.

#define LENGTH_FT   6

Definition at line 66 of file units.h.

#define LENGTH_IN   5

Definition at line 65 of file units.h.

#define LENGTH_M   3

Definition at line 63 of file units.h.

#define LENGTH_MIL   0

Definition at line 60 of file units.h.

#define LENGTH_MM   2

Definition at line 62 of file units.h.

#define LENGTH_UM   4

Definition at line 64 of file units.h.

#define M_E   2.7182818284590452353602874713526625 /* e */

Definition at line 40 of file units.h.

#define M_PI   3.1415926535897932384626433832795029 /* pi */

Definition at line 36 of file units.h.

#define MU0   12.566370614e-7 /* magnetic constant */

Definition at line 43 of file units.h.

#define RES_KOHM   1

Definition at line 70 of file units.h.

#define RES_OHM   0

Definition at line 69 of file units.h.

#define UNIT_ANG   3

Definition at line 51 of file units.h.

#define UNIT_FREQ   0

Definition at line 48 of file units.h.

#define UNIT_LENGTH   1

Definition at line 49 of file units.h.

#define UNIT_RES   2

Definition at line 50 of file units.h.

#define ZF0   376.73031346958504364963 /* wave resistance in vacuum */

Definition at line 45 of file units.h.