Qucs-core  0.0.19
Data Structures | Public Types | Data Fields | Static Public Attributes
qucs Struct Reference

#include <applications.h>

Collaboration diagram for qucs:
Collaboration graph
[legend]

Data Structures

struct  appindex
class  circuit
 base class for qucs circuit elements. More...
class  consweep
class  dataset
class  dcsolver
class  devstates
class  e_trsolver
 External interface class for transient simulation. More...
class  environment
 Houses the settings for netlist evaluation. More...
class  eqnsys
class  exception
class  exceptionstack
class  gperfapphash
class  hash
class  hashbucket
class  hashentry
class  hashiterator
class  hbsolver
class  history
class  input
struct  integration_types_t
class  integrator
class  interpolator
class  linsweep
class  logsweep
class  lstsweep
class  matrix
 Dense complex matrix class This class defines a matrix object with its methods, operators and operations. More...
class  matvec
class  module
class  naentry
class  nasolver
class  net
class  node
class  nodelist
struct  nodelist_t
class  nodeset
class  object
 generic object class. More...
class  pair
class  parasweep
struct  pconstant
class  poly
class  property
class  qucsint
 superclass for interfacing to the Qucs circuit solvers. More...
class  range
class  spline
class  spsolver
class  states
 template class for storing state variables. More...
class  strlist
struct  strlist_t
class  strlistiterator
class  substrate
class  sweep
class  tmatrix
class  tridiag
class  trsolver
class  trsolver_interface
 subclass for interfacing to the Qucs transient circuit solvers. More...
class  tvector
class  variable
class  vector

Public Types

enum  analysis_type {
  ANALYSIS_UNKNOWN = -1, ANALYSIS_SWEEP, ANALYSIS_DC, ANALYSIS_AC,
  ANALYSIS_HBALANCE, ANALYSIS_TRANSIENT, ANALYSIS_SPARAMETER, ANALYSIS_E_TRANSIENT
}
 enumerates the analysis types available. More...
enum  circuit_flag {
  CIRCUIT_ENABLED = 1, CIRCUIT_LINEAR = 2, CIRCUIT_ORIGINAL = 4, CIRCUIT_VSOURCE = 8,
  CIRCUIT_ISOURCE = 16, CIRCUIT_INTVSOURCE = 32, CIRCUIT_VARSIZE = 64, CIRCUIT_PROBE = 128,
  CIRCUIT_HISTORY = 256
}
enum  circuit_type {
  CIR_UNKNOWN = -1, CIR_GROUND, CIR_OPEN, CIR_SHORT,
  CIR_TEE, CIR_CROSS, CIR_ITRAFO, CIR_RESISTOR,
  CIR_CAPACITOR, CIR_INDUCTOR, CIR_MUTUAL, CIR_MUTUAL2,
  CIR_MUTUALX, CIR_VCCS, CIR_CCCS, CIR_CCVS,
  CIR_VCVS, CIR_DCBLOCK, CIR_DCFEED, CIR_BIASTEE,
  CIR_PAC, CIR_ATTENUATOR, CIR_CIRCULATOR, CIR_ISOLATOR,
  CIR_TRAFO, CIR_STRAFO, CIR_VDC, CIR_IDC,
  CIR_VAC, CIR_IAC, CIR_VEXP, CIR_IEXP,
  CIR_VFILE, CIR_IFILE, CIR_VAM, CIR_VPM,
  CIR_PHASESHIFTER, CIR_GYRATOR, CIR_TSWITCH, CIR_RELAIS,
  CIR_TLINE, CIR_CTLINE, CIR_COAXLINE, CIR_RECTANGULAR,
  CIR_TWISTEDPAIR, CIR_TLINE4P, CIR_RLCG, CIR_IPROBE,
  CIR_VPROBE, CIR_SPFILE, CIR_VPULSE, CIR_IPULSE,
  CIR_VRECT, CIR_IRECT, CIR_AMPLIFIER, CIR_COUPLER,
  CIR_HYBRID, CIR_RFEDD, CIR_VNOISE, CIR_INOISE,
  CIR_IINOISE, CIR_IVNOISE, CIR_VVNOISE, CIR_MSLINE,
  CIR_MSCORNER, CIR_MSMBEND, CIR_MSSTEP, CIR_MSOPEN,
  CIR_MSGAP, CIR_MSCOUPLED, CIR_MSLANGE, CIR_MSTEE,
  CIR_MSCROSS, CIR_MSVIA, CIR_MSRSTUB, CIR_BONDWIRE,
  CIR_CPWLINE, CIR_CPWOPEN, CIR_CPWSHORT, CIR_CPWGAP,
  CIR_CPWSTEP, CIR_OPAMP, CIR_DIODE, CIR_JFET,
  CIR_BJT, CIR_MOSFET, CIR_EQNDEFINED, CIR_DIAC,
  CIR_TRIAC, CIR_THYRISTOR, CIR_TUNNELDIODE, CIR_INVERTER,
  CIR_NOR, CIR_OR, CIR_NAND, CIR_AND,
  CIR_XNOR, CIR_XOR, CIR_DIGISOURCE, CIR_BUFFER,
  CIR_HBT_X, CIR_hicumL2V2p1, CIR_mod_amp, CIR_hic2_full,
  CIR_log_amp, CIR_hic0_full, CIR_potentiometer, CIR_MESFET,
  CIR_EKV26MOS, CIR_hicumL0V1p2, CIR_hicumL0V1p2g, CIR_hicumL0V1p3,
  CIR_hicumL2V2p23, CIR_hicumL2V2p24, CIR_photodiode, CIR_phototransistor,
  CIR_nigbt, CIR_dff_SR, CIR_tff_SR, CIR_jkff_SR,
  CIR_gatedDlatch, CIR_logic_1, CIR_logic_0, CIR_mux2to1,
  CIR_mux4to1, CIR_mux8to1, CIR_DLS_nto1, CIR_DLS_1ton,
  CIR_andor4x2, CIR_andor4x3, CIR_andor4x4, CIR_dmux2to4,
  CIR_dmux3to8, CIR_dmux4to16, CIR_ha1b, CIR_fa1b,
  CIR_fa2b, CIR_pad2bit, CIR_pad3bit, CIR_pad4bit,
  CIR_binarytogrey4bit, CIR_greytobinary4bit, CIR_comp_1bit, CIR_comp_2bit,
  CIR_comp_4bit, CIR_hpribin4bit, CIR_ECVS
}
enum  exception_type {
  EXCEPTION_UNKNOWN = -1, EXCEPTION_PIVOT, EXCEPTION_NA_FAILED, EXCEPTION_NO_CONVERGENCE,
  EXCEPTION_ZERO_DIVISION, EXCEPTION_WRONG_VOLTAGE, EXCEPTION_SINGULAR, EXCEPTION_MATH,
  EXCEPTION_UNKNOWN_ETR_MODE
}
enum  QUCS_ERROR_CODES { NETLIST_OK, NETLIST_FILE_NOT_FOUND, NETLIST_FAILED_CHECK }
enum  ETR_MODE { ETR_MODE_ASYNC, ETR_MODE_SYNC }
enum  property_type {
  PROPERTY_UNKNOWN = -1, PROPERTY_INT, PROPERTY_DOUBLE, PROPERTY_STR,
  PROPERTY_VAR
}
enum  spline_boundary_type { SPLINE_BC_UNKNOWN = -1, SPLINE_BC_NATURAL, SPLINE_BC_CLAMPED, SPLINE_BC_PERIODIC }
enum  sweep_type {
  SWEEP_UNKNOWN = -1, SWEEP_CONSTANT, SWEEP_LINEAR, SWEEP_LOGARITHMIC,
  SWEEP_LIST
}
enum  integrator_type {
  INTEGRATOR_UNKNOWN = -1, INTEGRATOR_EULER = 0, INTEGRATOR_TRAPEZOIDAL = 1, INTEGRATOR_GEAR = 2,
  INTEGRATOR_ADAMSMOULTON = 3, INTEGRATOR_ADAMSBASHFORD = 4
}
enum  tridiag_type {
  TRIDIAG_UNKNOWN = -1, TRIDIAG_NONSYM, TRIDIAG_SYM, TRIDIAG_NONSYM_CYCLIC,
  TRIDIAG_SYM_CYCLIC
}
enum  variably_type {
  VAR_UNKNOWN = -1, VAR_CONSTANT, VAR_REFERENCE, VAR_SUBSTRATE,
  VAR_VALUE, VAR_ANALYSIS
}
typedef class qucs::pair characteristic
typedef circuit *(* circuit_creator_t )(void)
typedef analysis *(* analysis_creator_t )(void)
typedef struct define_t *(* circuit_definer_t )(void)
typedef struct define_t *(* analysis_definer_t )(void)
typedef struct define_t *(* misc_definer_t )(void)
typedef class qucs::pair operatingpoint
typedef std::unordered_map
< std::string, property
properties

Data Fields

 PROP_REQ []
 PROP_OPT []
exceptionstack estack
int netlist_check = 0

Static Public Attributes

static const double C0 = 299792458.0
 speed of light in vacuum ( $c_0$)
static const double MU0 = 12.566370614e-7
 magnetic constant of vacuum ( $\mu_0=4\pi\times10^{-7}$)
static const double E0 = 8.854187817e-12
 Electric constant of vacuum $\varepsilon_0$.
static const double Z0 = 376.73031346958504364963
 Wave impedance in vacuum ( $Z_0=\sqrt{\frac{\mu_0}{\varepsilon_0}}$)
static const double Hp = 6.626069311e-34
 Planck constant ( $h$)
static const double K = -273.15
 Absolute 0 in centigrade.
static const double T0 = 290
 standard temperature
static const double kB = 1.380650524e-23
 Boltzmann constant ( $k_B$)
static const double Q_e = 1.6021765314e-19
 Elementary charge ( $q_e$)
static const double kBoverQ = 0.86173433260414314916e-4
 Boltzmann constant over Elementary charge ( $k_B/q_e$)
static const double QoverkB = 1.16045045690360379713e+4
 Elementary charge over Boltzmann constant ( $q_e/k_B$)
static const double ESiO2 = 3.9
 Relative permittivity of Silicon dioxide (Silica)
static const double ESi = 11.7
 Relative permittivity of Silicon.
static const double EGe = 15.8
 relative permittivity of Germanium
static const double EGaAs = 13.1
 Relative permittivity of Gallium(III) arsenide.
static const double NiSi = 1.45e16
 Intrinsic carrier concentration in 1/m^3 of Silicon.
static const double NiGe = 2.40e19
 Intrinsic carrier concentration in 1/m^3 of Germanium.
static const double NiGaAs = 9.00e12
 Intrinsic carrier concentration in 1/m^3 of Gallium(III) arsenide.
static const double EgSi = 1.11
 Energy gap at 300K in eV of Silicon.
static const double EgSchottky = 0.69
 Energy gap at 300K in eV of Schottky.
static const double EgGe = 0.67
 Energy gap at 300K in eV of Germanium.
static const double EgGaAs = 1.43
 Energy gap at 300K in eV of Gallium(III) arsenide.
static const double Eg0Si = 1.16
 Energy gap at 0K in eV of Silicon.
static const double GMin = NR_TINY
 Gmin.
static const double pi = 3.1415926535897932384626433832795029
 Archimedes' constant ( $\pi$)
static const double pi_over_2 = 1.5707963267948966192313216916397514
 Half of Archimedes' constant ( $\pi/2$)
static const double pi_over_4 = 0.7853981633974483096156608458198757
 A quarter of Archimedes' constant ( $\pi/4$)
static const double one_over_pi = 0.3183098861837906715377675267450287
 Inverse of Archimedes' constant ( $1/\pi$)
static const double two_over_pi = 0.6366197723675813430755350534900574
static const double sqrt_pi = 1.77245385090551602729816748334
 Square root of Archimedes' constant ( $\sqrt{\pi}$)
static const double euler = 2.7182818284590452353602874713526625
 Euler's constant ( $e=\sum_{n=0}^\infty \frac{1}{n!}$)
static const double log10e = 0.4342944819032518276511289189166051
 Decimal logartihm of Euler's constant ( $\log_{10} (e)$)
static const double log2e = 1.4426950408889634073599246810018922
 Binary logartihm of Euler's constant ( $\log_{2} (e)$)
static const double ln2 = 0.6931471805599453094172321214581766
 Natural logarithm of 2 ( $\ln 2$)
static const double ln10 = 2.3025850929940456840179914546843642
 Natural logarithm of 10 ( $\ln 10$)
static const double sqrt2 = 1.4142135623730950488016887242096981
 Square root of 2 ( $\sqrt{2}$)
static const double sqrt1_2 = 0.7071067811865475244008443621048490
 Inverse of Square root of 2 ( $1/\sqrt{2}$)
static const double limitexp = 80.0
 Limiting exponetial factor.
static struct pconstant pconstants []
static struct integration_types_t integration_types []

Detailed Description

Definition at line 30 of file applications.h.


Member Typedef Documentation

Definition at line 39 of file module.h.

typedef struct define_t*(* qucs::analysis_definer_t)(void) [read]

Definition at line 41 of file module.h.

typedef class qucs::pair qucs::characteristic

Definition at line 32 of file characteristic.h.

typedef circuit*(* qucs::circuit_creator_t)(void)

Definition at line 38 of file module.h.

typedef struct define_t*(* qucs::circuit_definer_t)(void) [read]

Definition at line 40 of file module.h.

typedef struct define_t*(* qucs::misc_definer_t)(void) [read]

Definition at line 42 of file module.h.

typedef class qucs::pair qucs::operatingpoint

Definition at line 32 of file operatingpoint.h.

typedef std::unordered_map<std::string, property> qucs::properties

Definition at line 72 of file property.h.


Member Enumeration Documentation

enumerates the analysis types available.

Enumerates the analysis types available.

Enumerator:
ANALYSIS_UNKNOWN 
ANALYSIS_SWEEP 
ANALYSIS_DC 
ANALYSIS_AC 
ANALYSIS_HBALANCE 
ANALYSIS_TRANSIENT 
ANALYSIS_SPARAMETER 
ANALYSIS_E_TRANSIENT 

Definition at line 61 of file analysis.h.

Enumerator:
CIRCUIT_ENABLED 
CIRCUIT_LINEAR 
CIRCUIT_ORIGINAL 
CIRCUIT_VSOURCE 
CIRCUIT_ISOURCE 
CIRCUIT_INTVSOURCE 
CIRCUIT_VARSIZE 
CIRCUIT_PROBE 
CIRCUIT_HISTORY 

Definition at line 66 of file circuit.h.

Enumerator:
CIR_UNKNOWN 
CIR_GROUND 
CIR_OPEN 
CIR_SHORT 
CIR_TEE 
CIR_CROSS 
CIR_ITRAFO 
CIR_RESISTOR 
CIR_CAPACITOR 
CIR_INDUCTOR 
CIR_MUTUAL 
CIR_MUTUAL2 
CIR_MUTUALX 
CIR_VCCS 
CIR_CCCS 
CIR_CCVS 
CIR_VCVS 
CIR_DCBLOC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MOS 
CIR_hicumL0V1p2 
CIR_hicumL0V1p2g 
CIR_hicumL0V1p3 
CIR_hicumL2V2p23 
CIR_hicumL2V2p24 
CIR_photodiode 
CIR_phototransistor 
CIR_nigbt 
CIR_dff_SR 
CIR_tff_SR 
CIR_jkff_SR 
CIR_gatedDlatch 
CIR_logic_1 
CIR_logic_0 
CIR_mux2to1 
CIR_mux4to1 
CIR_mux8to1 
CIR_DLS_nto1 
CIR_DLS_1ton 
CIR_andor4x2 
CIR_andor4x3 
CIR_andor4x4 
CIR_dmux2to4 
CIR_dmux3to8 
CIR_dmux4to16 
CIR_ha1b 
CIR_fa1b 
CIR_fa2b 
CIR_pad2bit 
CIR_pad3bit 
CIR_pad4bit 
CIR_binarytogrey4bit 
CIR_greytobinary4bit 
CIR_comp_1bit 
CIR_comp_2bit 
CIR_comp_4bit 
CIR_hpribin4bit 
CIR_ECVS 

Definition at line 31 of file component_id.h.

Enumerator:
ETR_MODE_ASYNC 
ETR_MODE_SYNC 

Definition at line 96 of file qucs_interface.h.

Enumerator:
EXCEPTION_UNKNOWN 
EXCEPTION_PIVOT 
EXCEPTION_NA_FAILED 
EXCEPTION_NO_CONVERGENCE 
EXCEPTION_ZERO_DIVISION 
EXCEPTION_WRONG_VOLTAGE 
EXCEPTION_SINGULAR 
EXCEPTION_MATH 
EXCEPTION_UNKNOWN_ETR_MODE 

Definition at line 31 of file exception.h.

Enumerator:
INTEGRATOR_UNKNOWN 
INTEGRATOR_EULER 
INTEGRATOR_TRAPEZOIDAL 
INTEGRATOR_GEAR 
INTEGRATOR_ADAMSMOULTON 
INTEGRATOR_ADAMSBASHFORD 

Definition at line 30 of file transient.h.

Enumerator:
PROPERTY_UNKNOWN 
PROPERTY_INT 
PROPERTY_DOUBLE 
PROPERTY_STR 
PROPERTY_VAR 

Definition at line 37 of file property.h.

Enumerator:
NETLIST_OK 
NETLIST_FILE_NOT_FOUND 
NETLIST_FAILED_CHECK 

Definition at line 43 of file qucs_interface.h.

Enumerator:
SPLINE_BC_UNKNOWN 
SPLINE_BC_NATURAL 
SPLINE_BC_CLAMPED 
SPLINE_BC_PERIODIC 

Definition at line 34 of file spline.h.

Enumerator:
SWEEP_UNKNOWN 
SWEEP_CONSTANT 
SWEEP_LINEAR 
SWEEP_LOGARITHMIC 
SWEEP_LIST 

Definition at line 30 of file sweep.h.

Enumerator:
TRIDIAG_UNKNOWN 
TRIDIAG_NONSYM 
TRIDIAG_SYM 
TRIDIAG_NONSYM_CYCLIC 
TRIDIAG_SYM_CYCLIC 

Definition at line 34 of file tridiag.h.

Enumerator:
VAR_UNKNOWN 
VAR_CONSTANT 
VAR_REFERENCE 
VAR_SUBSTRATE 
VAR_VALUE 
VAR_ANALYSIS 

Definition at line 40 of file variable.h.


Field Documentation

Definition at line 48 of file exceptionstack.h.

Definition at line 389 of file transient.cpp.

Definition at line 51 of file input.cpp.

struct pconstant qucs::pconstants[] [static]
Initial value:
{
    { "pi", pi },
    { "e",  euler  },
    { "kB", kB   },
    { "q",  Q_e    },
    { NULL, 0    }
}

Definition at line 2461 of file equation.cpp.

Initial value:
 {
  { "Noise", PROP_STR, { PROP_NO_VAL, "no" }, PROP_RNG_YESNO },
  { "Start", PROP_REAL, { 1e9, PROP_NO_STR }, PROP_POS_RANGE },
  { "Stop", PROP_REAL, { 10e9, PROP_NO_STR }, PROP_POS_RANGE },
  { "Points", PROP_INT, { 10, PROP_NO_STR }, PROP_MIN_VAL (2) },
  { "Values", PROP_LIST, { 10, PROP_NO_STR }, PROP_POS_RANGE },
  PROP_NO_PROP }

Definition at line 232 of file acsolver.cpp.

Initial value:
 {
  { "Type", PROP_STR, { PROP_NO_VAL, "lin" }, PROP_RNG_TYP },
  PROP_NO_PROP }

Definition at line 229 of file acsolver.cpp.


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