#include <rt-wdf.h>
§ wdfRootNode()
wdfRootNode::wdfRootNode |
( |
int |
numPorts | ) |
|
Base class of a WDF Root Node.
This is the base class for all unadapted WDF elements that can form the closed-form (non-implicit) root of a tree.
- Parameters
-
numPorts | number of ports on this root node |
§ ~wdfRootNode()
wdfRootNode::~wdfRootNode |
( |
| ) |
|
|
virtual |
§ calculateDownB()
virtual void wdfRootNode::calculateDownB |
( |
vec * |
ascendingWaves, |
|
|
vec * |
descendingWaves, |
|
|
size_t * |
portIndex |
|
) |
| |
|
pure virtual |
Virtual placeholder function that is meant to calculate the reflection of the incoming, ascending wave.
This is typically an unadapted expression which involves the component value of the node, the port resistance Rp, past states and the ascending wave itself.
- Parameters
-
*ascendingWaves | Pointer to a vector of ascending waves |
*descendingWaves | Pointer to a vector to store descending waves |
*portIndex | Pointer to a counter with the port index to use in the vectors of ascending and descending waves. Needs to be incremented by numPorts in the node's implementation. |
Implemented in wdfIdealCSource, wdfIdealVSource, wdfUnterminatedRes, wdfUnterminatedInd, wdfUnterminatedCap, and wdfUnterminatedSwitch.
§ getNumPorts()
int wdfRootNode::getNumPorts |
( |
| ) |
|
Return the number of ports of that root node.
- Returns
- the value of the numPorts member.
§ getType()
virtual std::string wdfRootNode::getType |
( |
| ) |
const |
|
pure virtual |
§ setPortResistance()
void wdfRootNode::setPortResistance |
( |
double |
Rp | ) |
|
|
virtual |
§ numPorts
size_t wdfRootNode::numPorts |
|
protected |
The number of ports on a root node element.
§ Rp
The WDF port resistance in Ohm.
The documentation for this class was generated from the following files: