KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcb_calculator/transline/stripline.cpp
Go to the documentation of this file.
1/*
2 * stripline.cpp - stripline class definition
3 *
4 * Copyright (C) 2011 Michael Margraf <[email protected]>
5 * Modifications 2018 for Kicad: Jean-Pierre Charras
6 * Copyright The KiCad Developers, see AUTHORS.txt for contributors.
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or (at
11 * your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * 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. If not, see <https://www.gnu.org/licenses/>.
20 *
21 */
22
23#include "stripline.h"
24#include <units_scales.h>
25
26
28{
29 m_Name = "StripLine";
30 Init();
31}
32
33
35{
36 m_calc.Analyse();
37}
38
39
44
45
68
69
92
93
97
98
void calcSynthesize() override
Computation for synthesis.
void getProperties() override
@function getProperties
void showSynthesize() override
Shows analysis results and checks for errors / warnings.
void show_results() override
Shows results.
void calcAnalyze() override
Computation for analysis.
void showAnalyze() override
Shows synthesis results and checks for errors / warnings.
void Init()
Definition transline.cpp:74
void setResult(int, double, const char *)
double m_parameters[EXTRA_PRMS_COUNT]
Definition transline.h:140
virtual void getProperties()
@function getProperties
const char * m_Name
Definition transline.h:91
static char convertParameterStatusCode(TRANSLINE_STATUS aStatus)
Converts a TRANSLINE_PARAMETER status to a PCB Calculation status.
void setProperty(enum PRMS_ID aPrmId, double aValue)
void setErrorLevel(PRMS_ID, char)
@function setErrorLevel
#define UNIT_MICRON
@ SIGMA_PRM
Definition transline.h:69
@ DIELECTRIC_MODEL_PRM
Definition transline.h:75
@ EPSILONR_SPEC_FREQ_PRM
Definition transline.h:76
@ SKIN_DEPTH_PRM
Definition transline.h:70
@ FREQUENCY_PRM
Definition transline.h:51
@ T_PRM
Definition transline.h:46
@ MURC_PRM
Definition transline.h:50
@ STRIPLINE_A_PRM
Definition transline.h:45
@ Z0_PRM
Definition transline.h:52
@ TAND_PRM
Definition transline.h:40
@ PHYS_LEN_PRM
Definition transline.h:60
@ ANG_L_PRM
Definition transline.h:55
@ EPSILONR_PRM
Definition transline.h:39
@ H_PRM
Definition transline.h:42
@ PHYS_WIDTH_PRM
Definition transline.h:56