diff options
Diffstat (limited to 'src/physics.h')
-rw-r--r-- | src/physics.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/physics.h b/src/physics.h index 06c5d4f..09ee23e 100644 --- a/src/physics.h +++ b/src/physics.h @@ -5,7 +5,7 @@ #include "itc.h" #define LIGHT_SPEED (299792458.0f) -#define MU_ZERO (4.0f * M_PI * 10e-7f) +#define MU_ZERO (4.0f * M_PI * 1e-7f) #define EPS_ZERO (1.0f / (MU_ZERO * LIGHT_SPEED * LIGHT_SPEED)) #define IMPEDANCE_ZERO (sqrt(MU_ZERO/EPS_ZERO)) @@ -22,9 +22,10 @@ typedef struct { } phy_field_em; typedef struct { - float eps, mu; // permittivity and permeability + float eps, mu; // for visualisation, not needed for stepping - float fake_cond[3]; + float uec_H[3][4]; + float uec_E[3][4]; vec3_t curl_E, curl_H; |