Qucs-core  0.0.19
Public Member Functions | Static Public Member Functions | Data Fields | Protected Attributes
qucs::trsolver Class Reference

#include <trsolver.h>

Inheritance diagram for qucs::trsolver:
Inheritance graph
Collaboration diagram for qucs::trsolver:
Collaboration graph

Public Member Functions

 ACREATOR (trsolver)
 trsolver (const std::string &name)
 trsolver (trsolver &)
 ~trsolver ()
int solve (void)
 placehoder for solution function
int predictor (void)
int corrector (void)
void nextStates (void)
void fillStates (void)
void setMode (int)
void setDelta (void)
void adjustDelta (nr_double_t)
void adjustOrder (int reduce=0)
void initTR (void)
void deinitTR (void)
void restart (void)
void initDC (void)
void initSteps (void)
void saveAllResults (nr_double_t)
nr_double_t checkDelta (void)
void updateCoefficients (nr_double_t)
void initHistory (nr_double_t)
void updateHistory (nr_double_t)
void saveHistory (circuit *)
void predictBashford (void)
void predictEuler (void)
void predictGear (void)
void initCircuitTR (circuit *)
void fillSolution (tvector< nr_double_t > *)
int dcAnalysis (void)

Static Public Member Functions

static void calcTR (trsolver *)
static void calcDC (trsolver *)

Data Fields


Protected Attributes

nr_double_t predCoeff [8]
nr_double_t corrCoeff [8]
nr_double_t deltas [8]
nr_double_t delta
nr_double_t deltaMax
nr_double_t deltaMin
nr_double_t deltaOld
nr_double_t stepDelta
int CMethod
int PMethod
int corrMaxOrder
int predMaxOrder
int corrType
int predType
int corrOrder
int predOrder
int rejected
int converged
tvector< nr_double_t > * solution [8]
nr_double_t current
int statSteps
int statRejected
int statIterations
int statConvergence
bool relaxTSR
bool initialDC

Detailed Description

Definition at line 962 of file trsolver.cpp.

Constructor & Destructor Documentation

qucs::trsolver::trsolver ( const std::string &  name)

Definition at line 77 of file trsolver.cpp.

qucs::trsolver::trsolver ( trsolver o)

Definition at line 105 of file trsolver.cpp.

qucs::trsolver::~trsolver ( )

Definition at line 90 of file trsolver.cpp.

Member Function Documentation

void qucs::trsolver::adjustDelta ( nr_double_t  t)

Definition at line 624 of file trsolver.cpp.

void qucs::trsolver::adjustOrder ( int  reduce = 0)

Definition at line 694 of file trsolver.cpp.

void qucs::trsolver::calcDC ( trsolver self) [static]

Definition at line 723 of file trsolver.cpp.

void qucs::trsolver::calcTR ( trsolver self) [static]

Definition at line 734 of file trsolver.cpp.

nr_double_t qucs::trsolver::checkDelta ( void  )

Definition at line 874 of file trsolver.cpp.

int qucs::trsolver::corrector ( void  )

Definition at line 570 of file trsolver.cpp.

int qucs::trsolver::dcAnalysis ( void  )

Definition at line 123 of file trsolver.cpp.

void qucs::trsolver::deinitTR ( void  )

Definition at line 830 of file trsolver.cpp.

void qucs::trsolver::fillSolution ( tvector< nr_double_t > *  s)

Definition at line 500 of file trsolver.cpp.

void qucs::trsolver::fillStates ( void  )

Definition at line 596 of file trsolver.cpp.

void qucs::trsolver::initCircuitTR ( circuit c)

Definition at line 847 of file trsolver.cpp.

void qucs::trsolver::initDC ( void  )

Definition at line 756 of file trsolver.cpp.

void qucs::trsolver::initHistory ( nr_double_t  t)

Definition at line 401 of file trsolver.cpp.

void qucs::trsolver::initSteps ( void  )

Definition at line 116 of file trsolver.cpp.

void qucs::trsolver::initTR ( void  )

Definition at line 767 of file trsolver.cpp.

void qucs::trsolver::nextStates ( void  )

Definition at line 578 of file trsolver.cpp.

void qucs::trsolver::predictBashford ( void  )

Definition at line 507 of file trsolver.cpp.

void qucs::trsolver::predictEuler ( void  )

Definition at line 531 of file trsolver.cpp.

void qucs::trsolver::predictGear ( void  )

Definition at line 549 of file trsolver.cpp.

int qucs::trsolver::predictor ( void  )

Definition at line 476 of file trsolver.cpp.

void qucs::trsolver::restart ( void  )

Definition at line 745 of file trsolver.cpp.

void qucs::trsolver::saveAllResults ( nr_double_t  time)

Definition at line 858 of file trsolver.cpp.

void qucs::trsolver::saveHistory ( circuit c)

Definition at line 445 of file trsolver.cpp.

void qucs::trsolver::setDelta ( void  )

Definition at line 615 of file trsolver.cpp.

void qucs::trsolver::setMode ( int  state)

Definition at line 607 of file trsolver.cpp.

int qucs::trsolver::solve ( void  ) [virtual]

placehoder for solution function

Virtual solution function intended to be overridden by the inheiriting class's solution function.

Reimplemented from qucs::analysis.

Definition at line 175 of file trsolver.cpp.

void qucs::trsolver::updateCoefficients ( nr_double_t  delta)

Definition at line 919 of file trsolver.cpp.

void qucs::trsolver::updateHistory ( nr_double_t  t)

Definition at line 428 of file trsolver.cpp.

Field Documentation

int qucs::trsolver::CMethod [protected]

Definition at line 83 of file trsolver.h.

int qucs::trsolver::converged [protected]

Definition at line 92 of file trsolver.h.

nr_double_t qucs::trsolver::corrCoeff[8] [protected]

Definition at line 76 of file trsolver.h.

int qucs::trsolver::corrMaxOrder [protected]

Definition at line 85 of file trsolver.h.

int qucs::trsolver::corrOrder [protected]

Definition at line 89 of file trsolver.h.

int qucs::trsolver::corrType [protected]

Definition at line 87 of file trsolver.h.

nr_double_t qucs::trsolver::current [protected]

Definition at line 94 of file trsolver.h.

nr_double_t qucs::trsolver::delta [protected]

Definition at line 78 of file trsolver.h.

nr_double_t qucs::trsolver::deltaMax [protected]

Definition at line 79 of file trsolver.h.

nr_double_t qucs::trsolver::deltaMin [protected]

Definition at line 80 of file trsolver.h.

nr_double_t qucs::trsolver::deltaOld [protected]

Definition at line 81 of file trsolver.h.

nr_double_t qucs::trsolver::deltas[8] [protected]

Definition at line 77 of file trsolver.h.

bool qucs::trsolver::initialDC [protected]

Definition at line 101 of file trsolver.h.

int qucs::trsolver::PMethod [protected]

Definition at line 84 of file trsolver.h.

nr_double_t qucs::trsolver::predCoeff[8] [protected]

Definition at line 75 of file trsolver.h.

int qucs::trsolver::predMaxOrder [protected]

Definition at line 86 of file trsolver.h.

int qucs::trsolver::predOrder [protected]

Definition at line 90 of file trsolver.h.

int qucs::trsolver::predType [protected]

Definition at line 88 of file trsolver.h.

Reimplemented in qucs::e_trsolver.

Definition at line 963 of file trsolver.cpp.

Reimplemented in qucs::e_trsolver.

Definition at line 963 of file trsolver.cpp.

Reimplemented in qucs::e_trsolver.

Definition at line 963 of file trsolver.cpp.

int qucs::trsolver::rejected [protected]

Reimplemented in qucs::e_trsolver.

Definition at line 91 of file trsolver.h.

bool qucs::trsolver::relaxTSR [protected]

Definition at line 100 of file trsolver.h.

tvector<nr_double_t>* qucs::trsolver::solution[8] [protected]

Reimplemented from qucs::nasolver< nr_type_t >.

Definition at line 93 of file trsolver.h.

int qucs::trsolver::statConvergence [protected]

Definition at line 98 of file trsolver.h.

int qucs::trsolver::statIterations [protected]

Definition at line 97 of file trsolver.h.

int qucs::trsolver::statRejected [protected]

Definition at line 96 of file trsolver.h.

int qucs::trsolver::statSteps [protected]

Definition at line 95 of file trsolver.h.

nr_double_t qucs::trsolver::stepDelta [protected]

Definition at line 82 of file trsolver.h.

sweep* qucs::trsolver::swp [protected]

Definition at line 74 of file trsolver.h.

history* qucs::trsolver::tHistory [protected]

Definition at line 99 of file trsolver.h.


Definition at line 963 of file trsolver.cpp.

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