|
|
发表于 2010-12-23 10:38:52
|
显示全部楼层
回复 1# suiger 的帖子
首先找到mixture_thread,
然后
“ 0 for the primary phase and is incremented by one for each secondary phase.”
Thread *ts = THREAD_SUB_THREAD(mix_thread,0);
Thread *tg = THREAD_SUB_THREAD(mix_thread,1);
至于 不同相的i,直接写0,1,2就行
这样就可以写出C_YI(c,tg,0)读取主相的第一个组分了。
关键看你的UDF用的是什么,有的DEFINE中已经有各个相的thread了。 |
|