Qucs-core  0.0.18
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
bondwire.h
Go to the documentation of this file.
1 /*
2  * bondwire.h - bondwire class definitions
3  *
4  * Copyright (C) 2006 Bastien Roucaries <roucaries.bastien@gmail.com>
5  * Copyright (C) 2007, 2008 Stefan Jahn <stefan@lkcc.org>
6  *
7  * This is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2, or (at your option)
10  * any later version.
11  *
12  * This software is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this package; see the file COPYING. If not, write to
19  * the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
20  * Boston, MA 02110-1301, USA.
21  *
22  * $Id$
23  *
24  */
25 
26 #ifndef __BONDWIRE_H__
27 #define __BONDWIRE_H__
28 
29 
30 class bondwire : public qucs::circuit
31 {
32  public:
33  CREATOR (bondwire);
34  void initSP (void);
35  void calcSP (const nr_double_t);
36  void calcNoiseSP (nr_double_t);
37  void initDC (void);
38  void initAC (void);
39  void calcAC (nr_double_t);
40  void calcNoiseAC (nr_double_t);
41  qucs::matrix calcMatrixY (nr_double_t);
42  void saveCharacteristics (nr_double_t);
43 
44  private:
45  void getProperties (void);
46  nr_double_t resistance (const nr_double_t f) const;
47  nr_double_t Lfreespace (const nr_double_t f) const;
48  nr_double_t Lmirror () const;
49 
50  nr_double_t l;
51  nr_double_t d;
52  nr_double_t h;
53  nr_double_t rho;
54  nr_double_t mur;
55  int model;
56  nr_double_t R, L;
57  nr_double_t temp;
58 };
59 
60 #endif /* __BONDWIRE_H__ */
nr_double_t resistance(const nr_double_t f) const
Definition: bondwire.cpp:159
nr_double_t d
Definition: bondwire.h:51
nr_double_t h
Definition: bondwire.h:52
void calcNoiseSP(nr_double_t)
Definition: bondwire.cpp:403
void initDC(void)
Definition: bondwire.cpp:366
nr_double_t Lfreespace(const nr_double_t f) const
Definition: bondwire.cpp:254
void calcSP(const nr_double_t)
Definition: bondwire.cpp:353
void initSP(void)
Definition: bondwire.cpp:345
nr_double_t temp
Definition: bondwire.h:57
base class for qucs circuit elements.
Definition: circuit.h:92
void calcAC(nr_double_t)
Definition: bondwire.cpp:399
void calcNoiseAC(nr_double_t)
Definition: bondwire.cpp:411
nr_double_t Lmirror() const
Definition: bondwire.cpp:297
nr_double_t L
Definition: bondwire.h:56
nr_double_t rho
Definition: bondwire.h:53
Dense complex matrix class This class defines a matrix object with its methods, operators and operati...
Definition: matrix.h:92
nr_double_t R
Definition: bondwire.h:56
int model
Definition: bondwire.h:55
nr_double_t l
Definition: bondwire.h:50
void initAC(void)
Definition: bondwire.cpp:390
nr_double_t mur
Definition: bondwire.h:54
qucs::matrix calcMatrixY(nr_double_t)
Definition: bondwire.cpp:314
void saveCharacteristics(nr_double_t)
Definition: bondwire.cpp:358
CREATOR(bondwire)
void getProperties(void)
Get properties from model. Get properties and fill the class.
Definition: bondwire.cpp:94