My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Variables
trsolver.cpp File Reference
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <float.h>
#include "compat.h"
#include "object.h"
#include "logging.h"
#include "complex.h"
#include "circuit.h"
#include "sweep.h"
#include "net.h"
#include "netdefs.h"
#include "analysis.h"
#include "nasolver.h"
#include "history.h"
#include "trsolver.h"
#include "transient.h"
#include "exception.h"
#include "exceptionstack.h"
Include dependency graph for trsolver.cpp:

Go to the source code of this file.

Classes

class  trsolver
 

Macros

#define STEPDEBUG   0
 
#define BREAKPOINTS   0
 
#define dState   0
 
#define sState   1
 
#define SOL(state)   (solution[(int) getState (sState, (state))])
 

Variables

 PROP_REQ []
 
 PROP_OPT []
 

Macro Definition Documentation

#define BREAKPOINTS   0

Definition at line 51 of file trsolver.cpp.

#define dState   0

Definition at line 53 of file trsolver.cpp.

#define SOL (   state)    (solution[(int) getState (sState, (state))])

Definition at line 107 of file trsolver.cpp.

#define sState   1

Definition at line 54 of file trsolver.cpp.

#define STEPDEBUG   0

Definition at line 50 of file trsolver.cpp.

Variable Documentation

PROP_OPT[]
Initial value:
= {
{ "IntegrationMethod", PROP_STR, { PROP_NO_VAL, "Trapezoidal" },
PROP_RNG_STR4 ("Euler", "Trapezoidal", "Gear", "AdamsMoulton") },
{ "Order", PROP_INT, { 2, PROP_NO_STR }, PROP_RNGII (1, 6) },
{ "InitialStep", PROP_REAL, { 1e-9, PROP_NO_STR }, PROP_POS_RANGE },
{ "MinStep", PROP_REAL, { 1e-16, PROP_NO_STR }, PROP_POS_RANGE },
{ "MaxStep", PROP_REAL, { 0, PROP_NO_STR }, PROP_POS_RANGE },
{ "MaxIter", PROP_INT, { 150, PROP_NO_STR }, PROP_RNGII (2, 10000) },
{ "abstol", PROP_REAL, { 1e-12, PROP_NO_STR }, PROP_RNG_X01I },
{ "vntol", PROP_REAL, { 1e-6, PROP_NO_STR }, PROP_RNG_X01I },
{ "reltol", PROP_REAL, { 1e-3, PROP_NO_STR }, PROP_RNG_X01I },
{ "LTEabstol", PROP_REAL, { 1e-6, PROP_NO_STR }, PROP_RNG_X01I },
{ "LTEreltol", PROP_REAL, { 1e-3, PROP_NO_STR }, PROP_RNG_X01I },
{ "LTEfactor", PROP_REAL, { 1, PROP_NO_STR }, PROP_RNGII (1, 16) },
{ "Temp", PROP_REAL, { 26.85, PROP_NO_STR }, PROP_MIN_VAL (K) },
{ "Solver", PROP_STR, { PROP_NO_VAL, "CroutLU" }, PROP_RNG_SOL },
{ "relaxTSR", PROP_STR, { PROP_NO_VAL, "no" }, PROP_RNG_YESNO },
{ "initialDC", PROP_STR, { PROP_NO_VAL, "yes" }, PROP_RNG_YESNO },

Definition at line 804 of file trsolver.cpp.

PROP_REQ[]
Initial value:
= {
{ "Type", PROP_STR, { PROP_NO_VAL, "lin" },
PROP_RNG_STR2 ("lin", "log") },
{ "Start", PROP_REAL, { 0, PROP_NO_STR }, PROP_POS_RANGE },
{ "Stop", PROP_REAL, { 1e-3, PROP_NO_STR }, PROP_POS_RANGE },
{ "Points", PROP_INT, { 10, PROP_NO_STR }, PROP_MIN_VAL (2) },

Definition at line 797 of file trsolver.cpp.