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