27 #include "math_util.h"
35 static nec_float permittivity;
36 static nec_float permeability;
40 inline nec_float power(nec_complex voltage, nec_complex current)
42 return 0.5* real(voltage * conj(current));
47 inline nec_float permittivity()
49 return constants::permittivity;
52 inline nec_float permeability()
54 return constants::permeability;
57 nec_float speed_of_light();
58 nec_float impedance();
59 nec_float inverse_impedance();
60 nec_float impedance_over_2pi();
Definition: electromag.h:32
Definition: electromag.h:29