diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2016-04-04 02:25:26 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2016-04-04 02:25:26 +0200 |
commit | a681d0a7fe91293728052cad405214dcbeb46ad5 (patch) | |
tree | 2d9017504b799196e21fe5e9f201f38e6f34310f /src/physics.h | |
parent | 0aa4954f105b6f418cdb2f1f23e8f9a04bee327d (diff) |
Plane wave source (broken).
Diffstat (limited to 'src/physics.h')
-rw-r--r-- | src/physics.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/physics.h b/src/physics.h index 09ee23e..798fa8c 100644 --- a/src/physics.h +++ b/src/physics.h @@ -33,6 +33,11 @@ typedef struct { vec3_t int_curl_E, int_curl_H; } phy_field_aux_point; +typedef struct { + size_t z; + float Px, Py; +} phy_source_xyplane; + enum { PHY_CMD_QUIT, PHY_CMD_PAUSE, @@ -49,6 +54,8 @@ typedef struct { size_t pml_widths[3]; float time, time_delta; + phy_source_xyplane source_xyplane; + // UI stuff bool running; itc_chan ctl; |