3.3.2. Looping Over Face Threads in a Domain (thread_loop_f)

You can use thread_loop_f when you want to loop over all face threads in a given domain. It consists of a single statement, followed by the operation(s) to be performed on all face threads in the domain enclosed within braces   as shown below. Note that thread_loop_f is similar in implementation to the thread_loop_c macro described above.

 Thread *f_thread;
 Domain *domain;
 thread_loop_f(f_thread, domain)/* loops over all face threads in a domain*/
  {
  } 

Release 18.2 - © ANSYS, Inc. All rights reserved.