10#include "arrays/vector_typedefs.h"
33enum SourceMode { steadystate, pulsed };
35enum RunMode { complete, analyse };
74 double omega_an = 0.0;
78 unsigned int start_tind = 0;
82 bool is_multilayer =
false;
83 bool is_disp_ml =
false;
88 bool exphasorsvolume =
90 bool exphasorssurface =
false;
91 bool intphasorssurface =
false;
92 RunMode run_mode = complete;
93 SourceMode source_mode = pulsed;
95 bool is_structure =
false;
96 bool exdetintegral =
false;
99 bool air_interface_present =
false;
100 double air_interface = 0.0;
101 bool interp_mat_props =
103 bool exi_present =
false;
104 bool eyi_present =
false;
109 void set_run_mode(std::string mode_string);
111 void set_source_mode(std::string mode_string);
113 void set_dimension(std::string mode_string);
Classes describing arrays, vertices etc.
Class storing the various constants and behaviour flags for one executation of the tdms executable.
Definition simulation_parameters.h:69
void unpack_from_input_matrices(InputMatrices in_matrices)
Unpacks all simulation parameters and flags from the matrix inputs the executable received.
Definition simulation_parameters.cpp:75
void set_Np_and_Npe(const FrequencyExtractVector &f_ex_vec)
Calculate the number of times to extract the phasors (Np), and the number of iterations between each ...
Definition simulation_parameters.cpp:60
void set_spacing_stride(const double *vector)
Set the surface spacing stride. The x, y, z step size for extracting phasors (in matlab this is calle...
Definition simulation_parameters.cpp:54
Dimension
Determines whether the simulation will compute all field components, or only the TE or TM modal compo...
Definition simulation_parameters.h:39
Definition simulation_parameters.h:15
int Dyl
Thickness of lower pml in the y direction.
Definition simulation_parameters.h:18
int Dzu
Thickness of upper pml in the z direction.
Definition simulation_parameters.h:21
int Dzl
Thickness of lower pml in the z direction.
Definition simulation_parameters.h:20
int Dxl
Thickness of lower pml in the x direction.
Definition simulation_parameters.h:16
int Dxu
Thickness of upper pml in the x direction.
Definition simulation_parameters.h:17
int Dyu
Thickness of upper pml in the y direction.
Definition simulation_parameters.h:19
A three-tuple of integers that contain the stride in each direction to extract the phasors on.
Definition simulation_parameters.h:53
The x,y,z lengths of the cuboidal Yee cells.
Definition simulation_parameters.h:25
double dz
Yee cell width in the z direction.
Definition simulation_parameters.h:28
double dx
Yee cell width in the x direction.
Definition simulation_parameters.h:26
double dy
Yee cell width in the y direction.
Definition simulation_parameters.h:27