金虫 (正式写手)
击破长空 ![]()
|
你好!代码如下,按你的思路,应该怎么作出修改呢?万分感谢!
DEFINE_ADJUST(refresh_the_boundary,domain)
{
Thread *t;
face_t f;
domain=Get_Domain(1);
thread_loop_f(t,domain)
{
if(THREAD_ID(t)==boundary_ID)
{
begin_f_loop(f,t)
{
//refresh the value of temperature-boundary
F_T(f,t)=F_UDMI(f,t,2);
}
end_f_loop(f,t)
}
}
} |
|