现在的位置: 首页 > 综合 > 正文

thread_loop_c thread_loop_f

2013年10月14日 ⁄ 综合 ⁄ 共 826字 ⁄ 字号 评论关闭
• 6.2.1 Looping over Cell Threads in a Domain ( thread_loop_c)
• 查询控制区的单元线
• 6.2.2 Looping over Face Threads in a Domain ( thread_loop_f)
• 查询控制区的面
• 6.2.3 Looping over Cells in a Cell Thread ( begin...end_c_loop)
• 查询单元线中的单元
• 6.2.4 Looping over Faces in a Face Thread ( begin...end_f_loop)
• 查询面单元中的面
• 6.2.5 Looping over Faces on a Cell ( c_face_loop)
• 查询单元面
• 6.2.6 Looping over Nodes of a Cell ( c_node_loop)
• 查询单元节点
6.2.1查询控制区的单元线
当你想查询给定控制区的单元线时,你可以用thread_loop_c。它包含单独的说明,后面是对控制区的单元线所做操作,正如下面显示的包含在{ }中。注意:thread_loop_c在执行上和thread_loop_f相似,参考6.2.2部分。
Domain *domain;
Thread *c_thread;
thread_loop_c(c_thread, domain) /*loops over all cell threads in domain*/
{
}
6.2.2查询控制区的面
当你想要查询给定控制区的面时,你可以应用thread_loop_f。它包含单独的说明,后面是对控制区的面单元所做操作,正如下面显示的包含在{ }中。注意:thread_loop_f在执行上和thread_loop_c相似,参考6.2.1部分。
3
第六章 Utilities (工具)
Thread *f_thread;
Domain *domain;
thread_loop_f(f_thread, domain)/* loops over all face threads in a domain*/
{
}

抱歉!评论已关闭.