scifir-units
2.0.0
scifir-units is a library of units of measurement, angles, coordinates, fields, and related data, all lightweight, that help in the development of scientific software and scientific machines
Loading...
Searching...
No Matches
derived_units
physics_units.cpp
Go to the documentation of this file.
1
#include "
./physics_units.hpp
"
2
3
namespace
scifir
4
{
5
// KINEMATICS
6
VECTOR_UNIT_2D_CPP
(
displacement
,
"m"
);
7
VECTOR_UNIT_3D_CPP
(
displacement
,
"m"
);
8
VECTOR_UNIT_ND_CPP
(
displacement
,
"m"
);
9
VECTOR_UNIT_CPP
(
velocity
,
"m/s"
);
10
VECTOR_UNIT_CPP
(
acceleration
,
"m/s2"
);
11
VECTOR_UNIT_CPP
(
momentum
,
"kg*m/s"
);
12
VECTOR_UNIT_CPP
(
jerk
,
"m/s3"
);
13
VECTOR_UNIT_CPP
(
snap
,
"m/s4"
);
14
VECTOR_UNIT_CPP
(
angular_velocity
,
"rad/s"
);
15
VECTOR_UNIT_CPP
(
angular_acceleration
,
"rad/s2"
);
16
VECTOR_UNIT_CPP
(
angular_momentum
,
"m2*kg/s"
);
17
18
// DYNAMICS
19
VECTOR_UNIT_CPP
(
impulse
,
"m*kg/s"
);
20
VECTOR_UNIT_CPP
(
force
,
"N"
);
21
VECTOR_UNIT_CPP
(
torque
,
"kg*m2/s2"
);
22
VECTOR_UNIT_CPP
(
pressure
,
"Pa"
);
23
VECTOR_UNIT_CPP
(
surface_tension
,
"kg/s2"
);
24
SCALAR_UNIT_CPP
(
stiffness
,
"kg/s2"
);
25
SCALAR_UNIT_CPP
(
moment_of_inertia
,
"m2*kg"
);
26
VECTOR_UNIT_CPP
(
yank
,
"N/s"
);
27
28
// ELECTRICITY
29
SCALAR_UNIT_CPP
(
electric_current
,
"A"
);
30
SCALAR_UNIT_CPP
(
voltage
,
"V"
);
31
VECTOR_UNIT_CPP
(
electric_displacement_field
,
"C/m2"
);
32
SCALAR_UNIT_CPP
(
electric_charge_density
,
"C/m3"
);
33
SCALAR_UNIT_CPP
(
electric_current_density
,
"A/m2"
);
34
VECTOR_UNIT_CPP
(
electric_field_strength
,
"V/m"
);
35
SCALAR_UNIT_CPP
(
electron_mobility
,
"m2/V*s"
);
36
SCALAR_UNIT_CPP
(
inductance
,
"H"
);
37
38
// FLUID DYNAMICS
39
SCALAR_UNIT_CPP
(
volumetric_flow
,
"m3/s"
);
40
SCALAR_UNIT_CPP
(
diffusion_coefficient
,
"m2/s"
);
41
SCALAR_UNIT_CPP
(
compressibility
,
"m*s2/kg"
);
42
43
// MAGNETISM
44
SCALAR_UNIT_CPP
(
polarization_density
,
"C/m2"
);
45
SCALAR_UNIT_CPP
(
magnetic_permeability
,
"H/m"
);
46
SCALAR_UNIT_CPP
(
magnetization
,
"A/m"
);
47
SCALAR_UNIT_CPP
(
magnetic_flux
,
"Wb"
);
48
VECTOR_UNIT_CPP
(
magnetic_flux_density
,
"T"
);
49
VECTOR_UNIT_CPP
(
magnetic_moment
,
"Wb*m"
);
50
SCALAR_UNIT_CPP
(
magnetic_reluctance
,
"1/H"
);
51
VECTOR_UNIT_CPP
(
magnetic_vector_potential
,
"Wb/m"
);
52
SCALAR_UNIT_CPP
(
magnetic_rigidity
,
"T*m"
);
53
VECTOR_UNIT_CPP
(
magnetomotive_force
,
"A*rad"
);
54
SCALAR_UNIT_CPP
(
magnetic_susceptibility
,
"m/H"
);
55
56
// OPTICS
57
SCALAR_UNIT_CPP
(
optical_power
,
"1/m"
);
58
SCALAR_UNIT_CPP
(
illuminance
,
"lx"
);
59
SCALAR_UNIT_CPP
(
luminous_flux
,
"lm"
);
60
SCALAR_UNIT_CPP
(
luminous_energy
,
"lm*s"
);
61
SCALAR_UNIT_CPP
(
luminous_exposure
,
"lx*s"
);
62
SCALAR_UNIT_CPP
(
luminous_efficacy
,
"lm/W"
);
63
SCALAR_UNIT_CPP
(
ionizing_radiation
,
"Gy"
);
64
SCALAR_UNIT_CPP
(
absorbed_dose
,
"Gy/s"
);
65
66
// THERMODYNAMICS
67
SCALAR_UNIT_CPP
(
energy
,
"J"
);
68
SCALAR_UNIT_CPP
(
action
,
"kg*m2/s"
);
69
SCALAR_UNIT_CPP
(
power
,
"W"
);
70
SCALAR_UNIT_CPP
(
power_density
,
"kg/m*s3"
);
71
SCALAR_UNIT_CPP
(
entropy
,
"kg*m2/K*s2"
);
72
SCALAR_UNIT_CPP
(
heat_capacity
,
"J/K"
);
73
SCALAR_UNIT_CPP
(
heat_flux_density
,
"kg/s3"
);
74
SCALAR_UNIT_CPP
(
thermal_conductivity
,
"W/m*K"
);
75
SCALAR_UNIT_CPP
(
thermal_diffusivity
,
"m2/s"
);
76
SCALAR_UNIT_CPP
(
thermal_resistance
,
"K/W"
);
77
SCALAR_UNIT_CPP
(
thermal_expansion_coefficient
,
"1/K"
);
78
VECTOR_UNIT_CPP
(
temperature_gradient
,
"K/m"
);
79
SCALAR_UNIT_CPP
(
energy_flux_density
,
"kg/s3"
);
80
SCALAR_UNIT_CPP
(
fuel_efficiency
,
"1/m2"
);
81
82
// WAVES
83
SCALAR_UNIT_CPP
(
wavenumber
,
"1/m"
);
84
SCALAR_UNIT_CPP
(
frequency
,
"Hz"
);
85
86
// ACCOUSTICS
87
SCALAR_UNIT_CPP
(
sound_power
,
"dB"
);
88
}
scifir::coordinates_1d
Definition
coordinates_1d.hpp:18
scifir
The namespace scifir contains all scifir-units, excepting the string literals, which are outside.
Definition
address.cpp:6
physics_units.hpp
SCALAR_UNIT_CPP
#define SCALAR_UNIT_CPP(name, init_real_dimensions)
Definition
scalar_unit.hpp:81
VECTOR_UNIT_2D_CPP
#define VECTOR_UNIT_2D_CPP(name, init_real_dimensions)
Definition
vector_unit_2d.hpp:109
VECTOR_UNIT_CPP
#define VECTOR_UNIT_CPP(name, init_real_dimensions)
Definition
vector_unit_3d.hpp:293
VECTOR_UNIT_3D_CPP
#define VECTOR_UNIT_3D_CPP(name, init_real_dimensions)
Definition
vector_unit_3d.hpp:116
VECTOR_UNIT_ND_CPP
#define VECTOR_UNIT_ND_CPP(name, init_real_dimensions)
Definition
vector_unit_nd.hpp:132
Generated by
1.9.8