3 * (c)2010 felix salfelder
8 #ifndef D_RCD_SYM_H_INCLUDED
9 #define D_RCD_SYM_H_INCLUDED
13 class DEV_BUILT_IN_RCD
;
14 // obsolete base class
15 class MODEL_BUILT_IN_RCD_SYM
: public MODEL_BUILT_IN_RCD
{
16 // friend class DEV_BUILT_IN_RCD;
18 explicit MODEL_BUILT_IN_RCD_SYM(const MODEL_BUILT_IN_RCD_SYM
& p
);
20 explicit MODEL_BUILT_IN_RCD_SYM(const BASE_SUBCKT
* p
);
21 // ~MODEL_BUILT_IN_RCD_SYM() : ~MODEL_BUILT_IN_RCD {}
22 bool use_net() const { return(0); }
23 virtual void do_tt_prepare(COMPONENT
*)const;
24 void do_stress_apply( COMPONENT
* d
) const;
25 void do_tr_stress( const COMPONENT
*) const;
26 std::string
dev_type()const ;
28 void set_dev_type(const std::string
& nt
)
31 trace0(("MODEL_BUILT_IN_RCD_SYM::set_dev_type() " + nt
).c_str());
33 virtual CARD
* clone()const {return new MODEL_BUILT_IN_RCD_SYM(*this);}
34 void do_expand( COMPONENT
*) const;
35 // ADP_NODE_RCD* new_adp_node(const COMPONENT*) const;
36 // region_t region(const COMPONENT*) const;
37 int tt_region(const COMPONENT
*) const;
38 virtual double P(const COMPONENT
*) const;
39 virtual double do_tr_error_last( double, const COMMON_COMPONENT
* ) const {unreachable(); return 0;}
42 // T __Edu(T,T, const COMMON_COMPONENT* )const {return 0;}
44 // virtual long double __step(long double, long double, double, const COMMON_COMPONENT* ) const { assert(false); }
45 double __E(double s
, const COMMON_COMPONENT
* c
) const ;
46 long double __Re(long double, const COMMON_COMPONENT
*)const { assert(false); return 0; }
47 double __Re(double, const COMMON_COMPONENT
*)const { assert(false); return 0; }
49 /*--------------------------------------------------------------------------*/
50 class DEV_BUILT_IN_RCD_SYM
: public DEV_BUILT_IN_RCD
{
51 explicit DEV_BUILT_IN_RCD_SYM(const DEV_BUILT_IN_RCD_SYM
& p
);
53 explicit DEV_BUILT_IN_RCD_SYM();
55 TIME_PAIR
tr_review(){ return BASE_SUBCKT::tr_review();}
60 /*--------------------------------------------------------------------------*/