|
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
定义边界wall上的uds,用下面的udf可以吗?
DEFINE_PROFILE(MP_udsyprofile, thread, i)
{
face_t f;
begin_f_loop(f,thread)
{
F_PROFILE(f,thread,i)=F_UDSI(f,thread,1);
}
end_f_loop(f,thread_th)
}
或者
DEFINE_PROFILE(MP_udsyprofile, thread, i)
{
face_t f;
cell_t c0;
Thread *t0;
begin_f_loop(f,thread)
{ c0=F_C0(f,thread);
t0=THREAD_T0(thread);
F_PROFILE(f,thread,i)=C_UDSI(c0,t0,1);
}
end_f_loop(f,thread_th)
}
那一种是可行的呢? |
|