From a681d0a7fe91293728052cad405214dcbeb46ad5 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Mon, 4 Apr 2016 02:25:26 +0200 Subject: Plane wave source (broken). --- src/physics.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/physics.h') 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; -- cgit