thread_loop_c thread_loop_f

• 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*/
{
}


  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值