|
RT-WDF
0.0.1
Real-time Wave Digital Filter Framework
|
#include <rt-wdf.h>
Public Member Functions | |
| wdfPort (wdfTreeNode *connectedNode) | |
| double | getPortVoltage () |
| double | getPortCurrent () |
Public Attributes | |
| double | Rp |
| double | Gp |
| double | a |
| double | b |
| std::unique_ptr< wdfTreeNode > | connectedNode |
Port class to describe a wave digital filter port.
| wdfPort::wdfPort | ( | wdfTreeNode * | connectedNode | ) |
Creates a WDF port on connectedNode.
| *connectedNode | is a pointer to the node that connects to that port. |
| double wdfPort::getPortCurrent | ( | ) |
Calculates the port current based on wave variables a and b
| double wdfPort::getPortVoltage | ( | ) |
Calculates the port voltage based on wave variables a and b
| double wdfPort::a |
Incident wave (incoming wave)
| double wdfPort::b |
Reflected wave (outgoing wave)
| std::unique_ptr<wdfTreeNode> wdfPort::connectedNode |
Pointer to the node that connects to that port.
| double wdfPort::Gp |
The inverse WDF port resistance in Siemens
| double wdfPort::Rp |
The WDF port resistance in Ohm