Qucs-core  0.0.19
mscorner.h
Go to the documentation of this file.
00001 /*
00002  * mscorner.h - microstrip corner class definitions
00003  *
00004  * Copyright (C) 2004, 2006, 2008 Stefan Jahn <stefan@lkcc.org>
00005  * Copyright (C) 2004 Michael Margraf <Michael.Margraf@alumni.TU-Berlin.DE>
00006  *
00007  * This is free software; you can redistribute it and/or modify
00008  * it under the terms of the GNU General Public License as published by
00009  * the Free Software Foundation; either version 2, or (at your option)
00010  * any later version.
00011  *
00012  * This software is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU General Public License
00018  * along with this package; see the file COPYING.  If not, write to
00019  * the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
00020  * Boston, MA 02110-1301, USA.
00021  *
00022  * $Id$
00023  *
00024  */
00025 
00026 #ifndef __MSCORNER_H__
00027 #define __MSCORNER_H__
00028 
00029 class mscorner : public qucs::circuit
00030 {
00031  public:
00032   CREATOR (mscorner);
00033   void calcSP (nr_double_t);
00034   void initSP (void);
00035   void initDC (void);
00036   void initAC (void);
00037   void calcAC (nr_double_t);
00038 
00039  private:
00040   void initCheck (void);
00041   qucs::matrix calcMatrixZ (nr_double_t);
00042   nr_double_t L, C, h;
00043 };
00044 
00045 #endif /* __MSCORNER_H__ */