Qucs-core  0.0.18
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Macros | Variables
diac.cpp File Reference
#include "component.h"
#include "device.h"
#include "devstates.h"
#include "diac.h"

Go to the source code of this file.

Data Structures

class  diac
 

Macros

#define NODE_A1   0 /* anode 1 */
 
#define NODE_A2   1 /* anode 2 (cathode) */
 
#define NODE_IN   2 /* internal node */
 
#define qState   0
 
#define cState   1
 

Variables

 PROP_REQ []
 
 PROP_OPT []
 

Macro Definition Documentation

#define cState   1

Definition at line 171 of file diac.cpp.

#define NODE_A1   0 /* anode 1 */

Definition at line 35 of file diac.cpp.

#define NODE_A2   1 /* anode 2 (cathode) */

Definition at line 36 of file diac.cpp.

#define NODE_IN   2 /* internal node */

Definition at line 37 of file diac.cpp.

#define qState   0

Definition at line 170 of file diac.cpp.

Variable Documentation

PROP_OPT[]
Initial value:
= {
{ "Cj0", PROP_REAL, { 10e-12, PROP_NO_STR }, PROP_POS_RANGE },
{ "Is", PROP_REAL, { 1e-10, PROP_NO_STR }, PROP_POS_RANGE },
{ "N", PROP_REAL, { 2.0, PROP_NO_STR }, PROP_RNGII (0.1, 100) },
{ "Ri", PROP_REAL, { 10.0, PROP_NO_STR }, PROP_POS_RANGEX },
{ "Temp", PROP_REAL, { 26.85, PROP_NO_STR }, PROP_MIN_VAL (K) },
#define PROP_POS_RANGE
Definition: netdefs.h:129
#define PROP_RNGII(f, t)
Definition: netdefs.h:138
#define PROP_REAL
Definition: netdefs.h:174
#define PROP_NO_PROP
Definition: netdefs.h:122
#define K
Absolute 0 in centigrade.
Definition: constants.h:59
#define PROP_NO_STR
Definition: netdefs.h:125
#define PROP_MIN_VAL(k)
Definition: netdefs.h:133
#define PROP_POS_RANGEX
Definition: netdefs.h:131

Definition at line 201 of file diac.cpp.

PROP_REQ[]
Initial value:
= {
{ "Ibo", PROP_REAL, { 50e-6, PROP_NO_STR }, PROP_POS_RANGEX },
{ "Vbo", PROP_REAL, { 30, PROP_NO_STR }, PROP_POS_RANGEX },
#define PROP_REAL
Definition: netdefs.h:174
#define PROP_NO_PROP
Definition: netdefs.h:122
#define PROP_NO_STR
Definition: netdefs.h:125
#define PROP_POS_RANGEX
Definition: netdefs.h:131

Definition at line 197 of file diac.cpp.