|
|
发表于 2013-1-14 18:57:54
|
显示全部楼层
回复 1# zy521yyf 的帖子
DEFINE_PROFILE(temperature, thread, position)
{
real x[ND_ND];
real y;
face_t f;
begin_f_loop(f, thread)
{
F_CENTROID(x,f,thread);
y = x[0];
F_PROFILE(f,thread,position) = 函数;
}
end_f_loop(f, thread)
} |
|