KiCad PCB EDA Suite
Loading...
Searching...
No Matches
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 mur_eff; // Effective mag. permeability
47 double atten_dielectric; // Loss in dielectric (dB)
48 double atten_cond; // Loss in conductors (dB)
49 double fc10; // Cutoff frequency for TE10 mode
50
51 double kval_square();
52 double kc_square( int, int );
53 double fc( int, int );
54 double alphac();
55 double alphac_cutoff();
56 double alphad();
61 void show_results() override;
62 void calcAnalyze() override;
63 void calcSynthesize() override;
64 void showAnalyze() override;
65 void showSynthesize() override;
66};
67
68#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:47
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:48
void showAnalyze() override
Shows synthesis results and checks for errors / warnings.