#include <opamp.h>
Inheritance diagram for OpAmp:


Public Member Functions | |
| OpAmp () | |
| virtual | ~OpAmp () |
| virtual Type | type () const |
| virtual void | add_map () |
Protected Member Functions | |
| virtual void | updateCurrents () |
| virtual void | add_initial_dc () |
Definition at line 22 of file opamp.h.
| virtual Type OpAmp::type | ( | ) | const [inline, virtual] |
| void OpAmp::add_map | ( | ) | [virtual] |
Call this function to tell the element to add its map to the matrix in use
Reimplemented from Element.
Definition at line 27 of file opamp.cpp.
References Element::b_status, Element::p_A, Element::p_cbranch, Element::p_cnode, Matrix::setUse_b(), and Matrix::setUse_c().
| void OpAmp::updateCurrents | ( | ) | [protected, virtual] |
Call this function to tell the element to calculate the current flowing *into* it's cnodes *from* the element. You can get the currents with m_cnodeI. Child class must implement this function.
Implements Element.
Definition at line 68 of file opamp.cpp.
References Element::b_status, CBranch::i, Element::m_cnodeI, and Element::p_cbranch.
| void OpAmp::add_initial_dc | ( | ) | [protected, virtual] |
Does the required MNA stuff. This should be called from ElementSet when necessary.
Implements Element.
Definition at line 52 of file opamp.cpp.
References Element::A_b(), Element::A_c(), and Element::b_status.
1.5.1