KiCad PCB EDA Suite
transline.h File Reference
#include <gal/color4d.h>
#include <wx/wx.h>

Go to the source code of this file.

Classes

class  TRANSLINE
 

Macros

#define TRANSLINE_OK   0
 
#define TRANSLINE_WARNING   1
 
#define TRANSLINE_ERROR   2
 

Enumerations

enum  PRMS_ID {
  UNKNOWN_ID = -1, EPSILONR_PRM, TAND_PRM, RHO_PRM,
  H_PRM, TWISTEDPAIR_TWIST_PRM, H_T_PRM, STRIPLINE_A_PRM,
  T_PRM, ROUGH_PRM, MUR_PRM, TWISTEDPAIR_EPSILONR_ENV_PRM,
  MURC_PRM, FREQUENCY_PRM, Z0_PRM, Z0_E_PRM,
  Z0_O_PRM, ANG_L_PRM, PHYS_WIDTH_PRM, PHYS_DIAM_IN_PRM,
  PHYS_S_PRM, PHYS_DIAM_OUT_PRM, PHYS_LEN_PRM, DUMMY_PRM
}
 
enum  EXTRA_PRMS_ID {
  EXTRA_PRMS_START = DUMMY_PRM - 1, SIGMA_PRM, SKIN_DEPTH_PRM, LOSS_DIELECTRIC_PRM,
  LOSS_CONDUCTOR_PRM, CUTOFF_FREQUENCY_PRM, EPSILON_EFF_PRM, EXTRA_PRMS_COUNT
}
 

Macro Definition Documentation

◆ TRANSLINE_ERROR

#define TRANSLINE_ERROR   2

Definition at line 32 of file transline.h.

◆ TRANSLINE_OK

#define TRANSLINE_OK   0

Definition at line 30 of file transline.h.

◆ TRANSLINE_WARNING

#define TRANSLINE_WARNING   1

Definition at line 31 of file transline.h.

Enumeration Type Documentation

◆ EXTRA_PRMS_ID

Enumerator
EXTRA_PRMS_START 
SIGMA_PRM 
SKIN_DEPTH_PRM 
LOSS_DIELECTRIC_PRM 
LOSS_CONDUCTOR_PRM 
CUTOFF_FREQUENCY_PRM 
EPSILON_EFF_PRM 
EXTRA_PRMS_COUNT 

Definition at line 67 of file transline.h.

68 {
70  SIGMA_PRM, // Conductivity of the metal
71  SKIN_DEPTH_PRM, // Skin depth
72  LOSS_DIELECTRIC_PRM, // Loss in dielectric (dB)
73  LOSS_CONDUCTOR_PRM, // Loss in conductors (dB)
74  CUTOFF_FREQUENCY_PRM, // Cutoff frequency for higher order modes
75  EPSILON_EFF_PRM, // Effective dielectric constant
77 };

◆ PRMS_ID

enum PRMS_ID
Enumerator
UNKNOWN_ID 
EPSILONR_PRM 
TAND_PRM 
RHO_PRM 
H_PRM 
TWISTEDPAIR_TWIST_PRM 
H_T_PRM 
STRIPLINE_A_PRM 
T_PRM 
ROUGH_PRM 
MUR_PRM 
TWISTEDPAIR_EPSILONR_ENV_PRM 
MURC_PRM 
FREQUENCY_PRM 
Z0_PRM 
Z0_E_PRM 
Z0_O_PRM 
ANG_L_PRM 
PHYS_WIDTH_PRM 
PHYS_DIAM_IN_PRM 
PHYS_S_PRM 
PHYS_DIAM_OUT_PRM 
PHYS_LEN_PRM 
DUMMY_PRM 

Definition at line 37 of file transline.h.

38 {
39  UNKNOWN_ID = -1,
40  EPSILONR_PRM, // dielectric constant
41  TAND_PRM, // Dielectric Loss Tangent
42  RHO_PRM, // Conductivity of conductor
43  H_PRM, // height of substrate
44  TWISTEDPAIR_TWIST_PRM, // Twists per length
45  H_T_PRM,
46  STRIPLINE_A_PRM, // Stripline : distance from line to top metal
47  T_PRM, // thickness of top metal
48  ROUGH_PRM,
49  MUR_PRM, // magnetic permeability of substrate
51  MURC_PRM, // magnetic permeability of conductor
52  FREQUENCY_PRM, // Frequency of operation
53  Z0_PRM, // characteristic impedance
54  Z0_E_PRM,
55  Z0_O_PRM,
56  ANG_L_PRM, // Electrical length in angle
58  PHYS_DIAM_IN_PRM, // Inner diameter of cable
59  PHYS_S_PRM, // width of gap between line and ground
60  PHYS_DIAM_OUT_PRM, // Outer diameter of cable
61  PHYS_LEN_PRM, // Length of cable
62  DUMMY_PRM
63 };