RT-WDF
0.0.1
Real-time Wave Digital Filter Framework
|
#include <rt-wdf_nlModels.h>
Public Member Functions | |
triDwModel () | |
void | calculate (vec *fNL, mat *JNL, vec *x, int *currentPort) |
int | getNumPorts () |
triDwModel::triDwModel | ( | ) |
Triode tube model class.
Triode model according to Dempwolf et al ("A physically-motivated triode model for circuit simulations")
|
virtual |
Calculate the non-linear current and it's Jacobian according to an input voltage.
*fNL | is a pointer to store result of fNL(x). This is a current. |
*JNL | is a pointer to store the result of the Jacobian of fNL(x). |
*x | is a pointer to read the input value x. This is a voltage. |
*currentPort | is a pointer to the first reading / writing position in fNL, JNL and x. |
Implements nlModel.
|
inherited |
Function which returns the number of ports on an NL model for memory house- keeping