diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2016-04-03 21:56:12 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2016-04-03 21:56:12 +0200 |
commit | 6dd784058ae8e45b306311bd303d09a32113f50e (patch) | |
tree | e730668b9b1bd212898bb8f36c670e516fec438c /src/physics.h | |
parent | 3ef209bad0cd7c1ae83a65702633e43f5a91c97f (diff) |
PML.
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; |