Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
TJunction.h
1
8
9#ifndef TJUNCTION_H
10#define TJUNCTION_H
11
12#include "Misc/general.h"
13#include "Schematic/Network.h"
14#include "Schematic/component.h"
16#include <QPen>
17
20class TJunction : public Network {
21 public:
24
27 TJunction(PowerCombinerParams PS) { Specification = PS; }
28
30 virtual ~TJunction() {}
31
33 void synthesize();
34
35 private:
37 PowerCombinerParams Specification;
38
40 void buildTJunction_IdealTL(double lambda4, double K);
41
43 void buildTJunction_Microstrip(double lambda4, double K);
44
46 void setComponentsLocation();
47
49 int x_spacing;
50 int y_spacing;
51
53 QVector<QPoint> Ports_pos;
54
56 QVector<QPoint> TL_pos;
57
59 QVector<QPoint> N_pos;
60};
61
62#endif // TJUNCTION_H
Synthesize microstrip lines (definition)
Abstract base class for network implementations.
Abstract base class for network implementations.
Definition Network.h:27
T-Junction power combiner/divider network.
Definition TJunction.h:20
void synthesize()
Synthesize the T-Junction network.
Definition TJunction.cpp:11
TJunction()
Class constructor.
Definition TJunction.h:23
virtual ~TJunction()
Class destructor.
Definition TJunction.h:30
TJunction(PowerCombinerParams PS)
Constructor with power combiner parameters.
Definition TJunction.h:27
Graphical component representation in schematic (definition)
Utility functions needed across the whole project.
Power combiner parameters.
Definition structures.h:261