WDF Current source with parallel resistance. More...
Public Member Functions | |
ResistiveCurrentSourceT (T value=NumericType< T >(1.0e9)) | |
Creates a new resistive current source. More... | |
void | setResistanceValue (T newR) |
Sets the resistance value of the parallel resistor, in Ohms. More... | |
void | calcImpedance () override |
Computes the impedance for a WDF resistive current souce Z_Ir = Z_R. More... | |
void | setCurrent (T newI) |
Sets the current of the current source, in Amps. More... | |
void | incident (T x) noexcept |
Accepts an incident wave into a WDF resistive current source. More... | |
T | reflected () noexcept |
Propogates a reflected wave from a WDF resistive current source. More... | |
ResistiveCurrentSourceT (T value=NumericType< T >(1.0e9)) | |
Creates a new resistive current source. More... | |
void | setResistanceValue (T newR) |
Sets the resistance value of the parallel resistor, in Ohms. More... | |
void | calcImpedance () override |
Computes the impedance for a WDF resistive current souce Z_Ir = Z_R. More... | |
void | setCurrent (T newI) |
Sets the current of the current source, in Amps. More... | |
void | incident (T x) noexcept |
Accepts an incident wave into a WDF resistive current source. More... | |
T | reflected () noexcept |
Propogates a reflected wave from a WDF resistive current source. More... | |
Public Member Functions inherited from BaseWDF | |
virtual | ~BaseWDF ()=default |
void | connectToParent (BaseWDF *p) |
virtual void | propagateImpedanceChange () |
virtual | ~BaseWDF ()=default |
void | connectToParent (BaseWDF *p) |
virtual void | propagateImpedanceChange () |
Public Attributes | |
WDFMembers< T > | wdf |
Additional Inherited Members | |
Protected Attributes inherited from BaseWDF | |
BaseWDF * | parent = nullptr |
WDF Current source with parallel resistance.
|
explicit |
Creates a new resistive current source.
value | initial resistance value, in Ohms |
References ResistiveCurrentSourceT< T >::calcImpedance().
|
explicit |
Creates a new resistive current source.
value | initial resistance value, in Ohms |
References ResistiveCurrentSourceT< T >::calcImpedance().
void setResistanceValue | ( | T | newR | ) |
Sets the resistance value of the parallel resistor, in Ohms.
References BaseWDF::propagateImpedanceChange().
|
overridevirtual |
Computes the impedance for a WDF resistive current souce Z_Ir = Z_R.
Implements BaseWDF.
References ResistiveCurrentSourceT< T >::wdf.
Referenced by ResistiveCurrentSourceT< T >::ResistiveCurrentSourceT().
void setCurrent | ( | T | newI | ) |
Sets the current of the current source, in Amps.
|
noexcept |
Accepts an incident wave into a WDF resistive current source.
References ResistiveCurrentSourceT< T >::wdf.
|
noexcept |
Propogates a reflected wave from a WDF resistive current source.
References ResistiveCurrentSourceT< T >::wdf.
void setResistanceValue | ( | T | newR | ) |
Sets the resistance value of the parallel resistor, in Ohms.
References BaseWDF::propagateImpedanceChange().
|
overridevirtual |
Computes the impedance for a WDF resistive current souce Z_Ir = Z_R.
Implements BaseWDF.
References ResistiveCurrentSourceT< T >::wdf.
void setCurrent | ( | T | newI | ) |
Sets the current of the current source, in Amps.
|
noexcept |
Accepts an incident wave into a WDF resistive current source.
References ResistiveCurrentSourceT< T >::wdf.
|
noexcept |
Propogates a reflected wave from a WDF resistive current source.
References ResistiveCurrentSourceT< T >::wdf.
WDFMembers< T > wdf |