|
[Sponsors] |
February 6, 2007, 22:59 |
Qestion about 'DEFINE_ADJUST'
|
#1 |
Guest
Posts: n/a
|
In my case there are two domain (d=1 and d=2). I want to modify some variables in every iteration. In the following, which is right or better? thank you. 1. DEFINE_ADJUST(name,d) {Thread *t; if (d==1) {...} else {...} ...} 2.DEFINE_ADJUST(name,d) {Thread *t1=Lookup_Thread(domain,1); Thread *t2=Lookup_Thread(domain,2); begin_c-loop(c,t1){...}end_c_loop(c,t1) begin_c_loop(c,t2){...}end_c_loop(c,t2) ...}
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Basic LES Qestion | Dave | Main CFD Forum | 2 | October 28, 2002 04:43 |
a qestion about CFX4 and CFX5 | cfxbeginner | CFX | 2 | October 25, 2002 08:01 |