25 #ifndef __NASOLVER_H__
26 #define __NASOLVER_H__
28 #include "qucs_typedefs.h"
37 #define CONV_Attenuation 1
38 #define CONV_LineSearch 2
39 #define CONV_SteepestDescent 3
40 #define CONV_GMinStepping 4
41 #define CONV_SourceStepping 5
50 template <
class nr_type_t>
112 char *
createV (
int,
const char *,
int);
113 char *
createI (
int,
const char *,
int);
114 char *
createOP (
const char *,
const char *);
std::complex< nr_double_t > nr_complex_t
void recallSolution(void)
int getN()
Returns the number of node voltages in the circuit.
void applyNodeset(bool nokeep=true)
int solve_nonlinear_continuation_gMin(void)
void restorePreviousIteration(void)
char * createV(int, const char *, int)
eqnsys< nr_type_t > * eqns
void setDescription(const char *n)
nr_type_t MatValX(nr_complex_t, nr_complex_t *)
base class for qucs circuit elements.
tvector< nr_type_t > * zprev
nasolution< nr_type_t > solution
void saveResults(const char *, const char *, int, qucs::vector *f=NULL)
void setCalculation(calculate_func_t f)
The analysis class header file.
void applyAttenuation(void)
circuit * findVoltageSource(int)
int solve_nonlinear(void)
calculate_func_t calculate_func
tvector< nr_type_t > * xprev
int countVoltageSources(void)
void saveNodeVoltages(void)
const char * getHelperDescription(void)
void saveBranchCurrents(void)
const char * getDescription(void)
void createNoiseMatrix(void)
char * createI(int, const char *, int)
int checkConvergence(void)
void assignVoltageSources(void)
char * createOP(const char *, const char *)
int getM()
Returns the number of branch currents in the circuit.
void savePreviousIteration(void)
int findAssignedNode(circuit *, int)
void(* calculate_func_t)(nasolver< nr_type_t > *)
void steepestDescent(void)
int solve_nonlinear_continuation_Source(void)