KiCad PCB EDA Suite
rectwaveguide.h
Go to the documentation of this file.
1/*
2 * rectwaveguide.h - rectangular waveguide class definition
3 *
4 * Copyright (C) 2001 Gopal Narayanan <[email protected]>
5 * Copyright (C) 2005 Stefan Jahn <[email protected]>
6 * Modified for Kicad: 2015 jean-pierre.charras
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this package; see the file COPYING. If not, write to
20 * the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
21 * Boston, MA 02110-1301, USA.
22 */
23
24
25#ifndef __RECTWAVEGUIDE_H
26#define __RECTWAVEGUIDE_H
27
28#include "transline/transline.h"
29
30#define PHYS_A_PRM PHYS_WIDTH_PRM
31#define PHYS_B_PRM PHYS_S_PRM
32
34{
35public:
37
38
39private:
40 double mur; // magnetic permeability of substrate
41 double a; // width of waveguide
42 double b; // height of waveguide
43 double l; // length of waveguide
44 double Z0; // characteristic impedance
45 double Z0EH; // characteristic impedance of field quantities*/
46 // double ang_l; Electrical length in angle defined in parent class
47 // double er_eff; Effective dielectric constant defined in parent class
48 double mur_eff; // Effective mag. permeability
49 double atten_dielectric; // Loss in dielectric (dB)
50 double atten_cond; // Loss in conductors (dB)
51 double fc10; // Cutoff frequency for TE10 mode
52
53 double kval_square();
54 double kc_square( int, int );
55 double fc( int, int );
56 double alphac();
57 double alphac_cutoff();
58 double alphad();
63 void show_results() override;
64 void calcAnalyze() override;
65 void calcSynthesize() override;
66 void showAnalyze() override;
67 void showSynthesize() override;
68};
69
70#endif // __RECTWAVEGUIDE_H
double kc_square(int, int)
double kval_square()
double fc(int, int)
void get_rectwaveguide_comp()
void calcSynthesize() override
Computation for synthesis.
void get_rectwaveguide_phys()
double alphac_cutoff()
void get_rectwaveguide_sub()
void get_rectwaveguide_elec()
double atten_dielectric
Definition: rectwaveguide.h:49
void show_results() override
Shows results.
void calcAnalyze() override
Computation for analysis.
void showSynthesize() override
Shows analysis results and checks for errors / warnings.
double atten_cond
Definition: rectwaveguide.h:50
void showAnalyze() override
Shows synthesis results and checks for errors / warnings.