My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Variables
hbsolver.cpp File Reference
#include <stdio.h>
#include "object.h"
#include "logging.h"
#include "complex.h"
#include "vector.h"
#include "node.h"
#include "circuit.h"
#include "component_id.h"
#include "net.h"
#include "netdefs.h"
#include "strlist.h"
#include "ptrlist.h"
#include "tvector.h"
#include "tmatrix.h"
#include "eqnsys.h"
#include "analysis.h"
#include "dataset.h"
#include "fourier.h"
#include "hbsolver.h"
Include dependency graph for hbsolver.cpp:

Go to the source code of this file.

Classes

class  hbsolver
 

Macros

#define HB_DEBUG   0
 
#define VS_(r)   (*VS) (r)
 
#define OM_(r)   (*OM) (r)
 
#define A_(r, c)   (*A) ((r)*lnfreqs+f,(c)*lnfreqs+f)
 
#define G_(r, c)   A_(r,c)
 
#define B_(r, c)   A_(r,c+N)
 
#define C_(r, c)   A_(r+N,c)
 
#define D_(r, c)   A_(r+N,c+N)
 
#define V_(r)   (*V) (r)
 
#define I_(r)   (*I) (r)
 
#define A_(r, c)   (*A) (r,c)
 
#define Z_(r, c)   (*Z) (r,c)
 
#define Y_(r, c)   (*Y) (r,c)
 
#define ZVU_(r, c)   Z_(r,c)
 
#define ZVL_(r, c)   Z_((r)*lnfreqs+f+sn,c)
 
#define ZCU_(r, c)   Z_(r,(c)*lnfreqs+f+sn)
 
#define ZCL_(r, c)   Z_((r)*lnfreqs+f+sn,(c)*lnfreqs+f+sn)
 
#define YV_(r, c)   (*YV) (r,c)
 
#define NA_(r, c)   (*NA) (r,c)
 
#define JF_(r, c)   (*JF) (r,c)
 
#define G_(r, c)   (*jg) ((r)*nlfreqs+f,(c)*nlfreqs+f)
 
#define C_(r, c)   (*jq) ((r)*nlfreqs+f,(c)*nlfreqs+f)
 
#define FI_(r)   (*ig) ((r)*nlfreqs+f)
 
#define FQ_(r)   (*fq) ((r)*nlfreqs+f)
 
#define IR_(r)   (*ir) ((r)*nlfreqs+f)
 
#define QR_(r)   (*qr) ((r)*nlfreqs+f)
 

Variables

 PROP_REQ []
 
 PROP_OPT []
 

Macro Definition Documentation

#define A_ (   r,
  c 
)    (*A) ((r)*lnfreqs+f,(c)*lnfreqs+f)

Definition at line 685 of file hbsolver.cpp.

#define A_ (   r,
  c 
)    (*A) (r,c)

Definition at line 685 of file hbsolver.cpp.

#define B_ (   r,
  c 
)    A_(r,c+N)

Definition at line 589 of file hbsolver.cpp.

#define C_ (   r,
  c 
)    A_(r+N,c)

Definition at line 949 of file hbsolver.cpp.

#define C_ (   r,
  c 
)    (*jq) ((r)*nlfreqs+f,(c)*nlfreqs+f)

Definition at line 949 of file hbsolver.cpp.

#define D_ (   r,
  c 
)    A_(r+N,c+N)

Definition at line 591 of file hbsolver.cpp.

#define FI_ (   r)    (*ig) ((r)*nlfreqs+f)

Definition at line 952 of file hbsolver.cpp.

#define FQ_ (   r)    (*fq) ((r)*nlfreqs+f)

Definition at line 953 of file hbsolver.cpp.

#define G_ (   r,
  c 
)    A_(r,c)

Definition at line 948 of file hbsolver.cpp.

#define G_ (   r,
  c 
)    (*jg) ((r)*nlfreqs+f,(c)*nlfreqs+f)

Definition at line 948 of file hbsolver.cpp.

#define HB_DEBUG   0

Definition at line 50 of file hbsolver.cpp.

#define I_ (   r)    (*I) (r)

Definition at line 683 of file hbsolver.cpp.

#define IR_ (   r)    (*ir) ((r)*nlfreqs+f)

Definition at line 954 of file hbsolver.cpp.

#define JF_ (   r,
  c 
)    (*JF) (r,c)

Definition at line 697 of file hbsolver.cpp.

#define NA_ (   r,
  c 
)    (*NA) (r,c)

Definition at line 696 of file hbsolver.cpp.

#define OM_ (   r)    (*OM) (r)

Definition at line 139 of file hbsolver.cpp.

#define QR_ (   r)    (*qr) ((r)*nlfreqs+f)

Definition at line 955 of file hbsolver.cpp.

#define V_ (   r)    (*V) (r)

Definition at line 682 of file hbsolver.cpp.

#define VS_ (   r)    (*VS) (r)

Definition at line 138 of file hbsolver.cpp.

#define Y_ (   r,
  c 
)    (*Y) (r,c)

Definition at line 688 of file hbsolver.cpp.

#define YV_ (   r,
  c 
)    (*YV) (r,c)

Definition at line 695 of file hbsolver.cpp.

#define Z_ (   r,
  c 
)    (*Z) (r,c)

Definition at line 687 of file hbsolver.cpp.

#define ZCL_ (   r,
  c 
)    Z_((r)*lnfreqs+f+sn,(c)*lnfreqs+f+sn)

Definition at line 693 of file hbsolver.cpp.

#define ZCU_ (   r,
  c 
)    Z_(r,(c)*lnfreqs+f+sn)

Definition at line 692 of file hbsolver.cpp.

#define ZVL_ (   r,
  c 
)    Z_((r)*lnfreqs+f+sn,c)

Definition at line 691 of file hbsolver.cpp.

#define ZVU_ (   r,
  c 
)    Z_(r,c)

Definition at line 690 of file hbsolver.cpp.

Variable Documentation

PROP_OPT[]
Initial value:
= {
{ "f", PROP_REAL, { 1e9, PROP_NO_STR }, PROP_POS_RANGEX },
{ "iabstol", PROP_REAL, { 1e-12, PROP_NO_STR }, PROP_RNG_X01I },
{ "vabstol", PROP_REAL, { 1e-6, PROP_NO_STR }, PROP_RNG_X01I },
{ "reltol", PROP_REAL, { 1e-3, PROP_NO_STR }, PROP_RNG_X01I },
{ "MaxIter", PROP_INT, { 150, PROP_NO_STR }, PROP_RNGII (2, 10000) },

Definition at line 1417 of file hbsolver.cpp.

PROP_REQ[]
Initial value:
= {
{ "n", PROP_INT, { 1, PROP_NO_STR }, PROP_MIN_VAL (1) },

Definition at line 1414 of file hbsolver.cpp.