Qucs-core  0.0.18
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Variables
tswitch.cpp File Reference
#include <iostream>
#include <cmath>
#include "component.h"
#include "tswitch.h"

Go to the source code of this file.

Data Structures

class  tswitch
 

Variables

 PROP_REQ []
 
 PROP_OPT []
 

Variable Documentation

PROP_OPT[]
Initial value:
= {
{ "Ron", PROP_REAL, { 0, PROP_NO_STR }, PROP_POS_RANGE },
{ "Roff", PROP_REAL, { 1e12, PROP_NO_STR }, PROP_POS_RANGE },
{ "Temp", PROP_REAL, { 26.85, PROP_NO_STR }, PROP_MIN_VAL (K) },
{ "MaxDuration", PROP_REAL, { 1e-6, PROP_NO_STR }, PROP_MIN_VAL (10*NR_TINY) },
#define PROP_POS_RANGE
Definition: netdefs.h:129
#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

Definition at line 190 of file tswitch.cpp.

PROP_REQ[]
Initial value:
= {
{ "init", PROP_STR, { PROP_NO_VAL, "off" }, PROP_RNG_STR2 ("on", "off") },
{ "time", PROP_LIST, { 1e-9, PROP_NO_STR }, PROP_POS_RANGE },
#define PROP_POS_RANGE
Definition: netdefs.h:129
#define PROP_RNG_STR2(s1, s2)
Definition: netdefs.h:145
#define PROP_NO_PROP
Definition: netdefs.h:122
#define PROP_NO_STR
Definition: netdefs.h:125
#define PROP_STR
Definition: netdefs.h:175
#define PROP_NO_VAL
Definition: netdefs.h:124
#define PROP_LIST
Definition: netdefs.h:176

Definition at line 186 of file tswitch.cpp.