本文主要介绍Cell Field Variable Macros(单元场变量宏)和Looping Macros(循环宏)。
thread_loop_c(t, d)
{
..........
}
thread_loop_f(t, d)
{
..........
}
begin_c_loop(c, t)
{
..........
}
end_c_loop
befing_f_loop(c, t)
{
..........
}
C_face_loop(f, t, n)
{
..........
}
Thread *tf = Lookup_Thread(domain, ID)
THREAD_ID(tf)
联系客服