RT-WDF  0.0.1
Real-time Wave Digital Filter Framework
triDwModel Class Reference

#include <rt-wdf_nlModels.h>

Inheritance diagram for triDwModel:

Public Member Functions

 triDwModel ()
 
void calculate (vec *fNL, mat *JNL, vec *x, int *currentPort)
 
int getNumPorts ()
 

Constructor & Destructor Documentation

§ triDwModel()

triDwModel::triDwModel ( )

Triode tube model class.

Triode model according to Dempwolf et al ("A physically-motivated triode model for circuit simulations")

Member Function Documentation

§ calculate()

void triDwModel::calculate ( vec *  fNL,
mat *  JNL,
vec *  x,
int *  currentPort 
)
virtual

Calculate the non-linear current and it's Jacobian according to an input voltage.

Parameters
*fNLis a pointer to store result of fNL(x). This is a current.
*JNLis a pointer to store the result of the Jacobian of fNL(x).
*xis a pointer to read the input value x. This is a voltage.
*currentPortis a pointer to the first reading / writing position in fNL, JNL and x.

Implements nlModel.

§ getNumPorts()

int nlModel::getNumPorts ( )
inherited

Function which returns the number of ports on an NL model for memory house- keeping

Returns
the number of ports implemented in a particular NL model.

The documentation for this class was generated from the following files: