LCOV - code coverage report
Current view: top level - src/components - amplifier.h (source / functions) Hit Total Coverage
Test: qucs-core-0.0.19 Code Coverage Lines: 1 2 50.0 %
Date: 2015-01-05 16:01:02 Functions: 1 4 25.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 4 0.0 %

           Branch data     Line data    Source code
       1                 :            : /*
       2                 :            :  * amplifier.h - amplifier class definitions
       3                 :            :  *
       4                 :            :  * Copyright (C) 2004, 2008 Stefan Jahn <stefan@lkcc.org>
       5                 :            :  * Copyright (C) 2008 Michael Margraf <Michael.Margraf@alumni.TU-Berlin.DE>
       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 __AMPLIFIER_H__
      27                 :            : #define __AMPLIFIER_H__
      28                 :            : 
      29                 :            : /*! Ideal and linear amplifier
      30                 :            : 
      31                 :            :     An ideal amplifier increases signal strength from input to output and
      32                 :            :     blocks all signals flowing into the output.
      33                 :            :     The ideal amplifier is an isolator with voltage gain \f$G\f$
      34                 :            : */
      35         [ #  # ]:          0 : class amplifier : public qucs::circuit
      36                 :            : {
      37                 :            :  public:
      38         [ #  # ]:        208 :   CREATOR (amplifier);
      39                 :            :   void initSP (void);
      40                 :            :   void calcNoiseSP (nr_double_t);
      41                 :            :   void initDC (void);
      42                 :            :   void initAC (void);
      43                 :            :   void calcNoiseAC (nr_double_t);
      44                 :            :   void initTR (void);
      45                 :            : };
      46                 :            : 
      47                 :            : #endif /* __AMPLIFIER_H__ */

Generated by: LCOV version 1.11