25 #ifndef __HBSOLVER_H__
26 #define __HBSOLVER_H__
37 class hbsolver :
public analysis
57 int assignNodes (ptrlist<circuit>, strlist *,
int offset = 0);
61 void invertMatrix (tmatrix<nr_complex_t> *, tmatrix<nr_complex_t> *);
68 tvector<nr_complex_t> *, tvector<nr_complex_t> *,
69 tvector<nr_complex_t> *, tvector<nr_complex_t> *,
74 void VectorFFT (tvector<nr_complex_t> *,
int isign = 1);
75 void VectorIFFT (tvector<nr_complex_t> *,
int isign = 1);
80 tvector<nr_complex_t>
expandVector (tvector<nr_complex_t>,
int);
81 tmatrix<nr_complex_t>
expandMatrix (tmatrix<nr_complex_t>,
int);
84 tvector<nr_complex_t> *);
std::complex< nr_double_t > nr_complex_t
tmatrix< nr_complex_t > * YV
bool isExcitation(circuit *)
tmatrix< nr_complex_t > * Y
int assignVoltageSources(ptrlist< circuit >)
void VectorFFT(tvector< nr_complex_t > *, int isign=1)
tvector< nr_complex_t > * FQ
void MatrixFFT(tmatrix< nr_complex_t > *)
tvector< nr_complex_t > * RH
void collectFrequencies(void)
tmatrix< nr_complex_t > * NA
tvector< nr_complex_t > * IR
tvector< nr_complex_t > * IL
void calcConstantCurrent(void)
tvector< nr_complex_t > * vs
tvector< nr_complex_t > * FV
tvector< nr_complex_t > * IC
void VectorIFFT(tvector< nr_complex_t > *, int isign=1)
void invertMatrix(tmatrix< nr_complex_t > *, tmatrix< nr_complex_t > *)
void expandFrequencies(nr_double_t, int)
tmatrix< nr_complex_t > * JF
ptrlist< circuit > nolcircuits
int assignNodes(ptrlist< circuit >, strlist *, int offset=0)
tmatrix< nr_complex_t > * JG
strlist * circuitNodes(ptrlist< circuit >)
static void calc(hbsolver *)
tvector< nr_double_t > posfreqs
tvector< nr_double_t > dfreqs
void fillMatrixLinearExtended(tmatrix< nr_complex_t > *, tvector< nr_complex_t > *)
int solve(void)
placehoder for solution function
void createMatrixLinearY(void)
void prepareNonLinear(void)
tvector< nr_double_t > rfreqs
void saveNodeVoltages(circuit *, int)
tmatrix< nr_complex_t > * Z
tvector< nr_complex_t > * VS
tvector< nr_complex_t > * x
tvector< nr_complex_t > * VP
tmatrix< nr_complex_t > expandMatrix(tmatrix< nr_complex_t >, int)
tvector< nr_complex_t > * QR
tvector< nr_complex_t > * IS
void fillMatrixLinearA(tmatrix< nr_complex_t > *, int)
void fillMatrixNonLinear(tmatrix< nr_complex_t > *, tmatrix< nr_complex_t > *, tvector< nr_complex_t > *, tvector< nr_complex_t > *, tvector< nr_complex_t > *, tvector< nr_complex_t > *, int)
tvector< nr_complex_t > expandVector(tvector< nr_complex_t >, int)
tvector< nr_complex_t > * IG
tvector< nr_complex_t > * IN
nr_complex_t excitationZ(tvector< nr_complex_t > *, circuit *, int)
ptrlist< circuit > excitations
tmatrix< nr_complex_t > * JQ
tvector< nr_double_t > negfreqs
void createMatrixLinearA(void)
tmatrix< nr_complex_t > extendMatrixLinear(tmatrix< nr_complex_t >, int)
ptrlist< circuit > lincircuits
tmatrix< nr_complex_t > * A
tvector< nr_complex_t > * OM