|
|
发表于 2011-1-13 13:26:43
|
显示全部楼层
回复 1# linahut 的帖子
可以通过UDM来传递。
(1)Define-->User-Defined-->Memory, 增加一个
(2)DEFINE_HET_RXN_RATE(sulv,c,t,r,my,yi,rr,rr_t)程序中,
增加 C_UDMI(c,t,i)=*rr;/*change i to the right index, i=0 if only one UDM, *rr means the rate you want*/
(3) 在DEFINE_SOURCE宏中引用;
例如: A=C_UDMI(c,t,0)
其中要注意,c,t对应与混合相(即mixture的参数) |
|