19 #ifndef __nec_structure_currents__
20 #define __nec_structure_currents__
22 #include "nec_results.h"
23 #include "math_util.h"
36 nec_float in_xpr3, nec_float in_xpr6);
38 static std::string hpol(
enum excitation_type e);
46 virtual void write_to_file(ostream& os)
48 write_to_file_aux(os);
51 virtual enum nec_result_type get_result_type()
53 return RESULT_STRUCTURE_CURRENTS;
70 vector<int> get_current_segment_number()
72 return _current_segment_number;
75 vector<int> get_current_segment_tag()
77 return _current_segment_tag;
80 vector<nec_float> get_current_segment_center_x()
82 return _current_segment_center_x;
85 vector<nec_float> get_current_segment_center_y()
87 return _current_segment_center_y;
90 vector<nec_float> get_current_segment_center_z()
92 return _current_segment_center_z;
95 vector<nec_float> get_current_segment_length()
97 return _current_segment_length;
100 vector<nec_float> get_current_theta()
102 return _current_theta;
105 vector<nec_float> get_current_phi()
110 vector<nec_complex> get_current()
115 vector<int> get_q_density_segment_number()
117 return _q_density_segment_number;
120 vector<int> get_q_density_segment_tag()
122 return _q_density_segment_tag;
125 vector<nec_float> get_q_density_segment_center_x()
127 return _q_density_segment_center_x;
130 vector<nec_float> get_q_density_segment_center_y()
132 return _q_density_segment_center_y;
135 vector<nec_float> get_q_density_segment_center_z()
137 return _q_density_segment_center_z;
140 vector<nec_float> get_q_density_segment_length()
142 return _q_density_segment_length;
145 vector<nec_complex> get_q_density()
150 vector<int> get_patch_number()
152 return _patch_number;
155 vector<nec_float> get_patch_center_x()
157 return _patch_center_x;
160 vector<nec_float> get_patch_center_y()
162 return _patch_center_y;
165 vector<nec_float> get_patch_center_z()
167 return _patch_center_z;
170 vector<nec_complex> get_patch_tangent_vector1()
172 return _patch_tangent_vector1;
175 vector<nec_complex> get_patch_tangent_vector2()
177 return _patch_tangent_vector2;
180 vector<nec_complex> get_patch_e_x()
185 vector<nec_complex> get_patch_e_y()
190 vector<nec_complex> get_patch_e_z()
199 enum excitation_type pattype;
202 int iptag, iptagf, iptagt;
204 int iptaq, iptaqf, iptaqt;
208 nec_float xpr3, xpr6;
209 nec_float wavelength;
212 nec_float structure_power_loss;
214 int current_nb_elements;
215 int q_density_nb_elements;
216 int q_density_last_printed;
217 int patch_nb_elements;
222 vector<int> _current_segment_number;
223 vector<int> _current_segment_tag;
225 vector<nec_float> _current_segment_center_x, _current_segment_center_y, _current_segment_center_z;
226 vector<nec_float> _current_segment_length;
227 vector<nec_float> _current_theta, _current_phi;
229 vector<nec_complex> _current;
231 vector<int> _q_density_segment_number;
232 vector<int> _q_density_segment_tag;
234 vector<nec_float> _q_density_segment_center_x, _q_density_segment_center_y, _q_density_segment_center_z;
235 vector<nec_float> _q_density_segment_length;
237 vector<nec_complex> _q_density;
239 vector<int> _patch_number;
241 vector<nec_float> _patch_center_x, _patch_center_y, _patch_center_z;
243 vector<nec_complex> _patch_tangent_vector1, _patch_tangent_vector2;
244 vector<nec_complex> _patch_e_x, _patch_e_y, _patch_e_z;
246 void write_to_file_aux(ostream& os);
Definition: nec_structure_currents.h:30
Definition: c_geometry.h:51
Definition: nec_results.h:230
Container for an nec2++ simulation.
Definition: nec_context.h:60