|
[Sponsors] |
February 20, 2014, 00:14 |
define_profile
|
#1 |
Senior Member
Vaze
Join Date: Jun 2009
Posts: 172
Rep Power: 17 |
Hi
Inside define_profile in order to define profile kind of BC, I have looped all over the faces through begin_f_loop and put print statement to check how many times the face loop is executing. I have total 29 faces hence my face loop should execute 29 times only while it is executing more than 29 times. Code is like: DEFINE_PROFILE(name, t, i) { face_t f; begin_f_loop(f,t) { Message("loop executed\n"); } end_f_loop(f,t) } Can anybody tell me the reason? Regards Mvee |
|
February 20, 2014, 05:51 |
|
#2 |
Senior Member
Vaze
Join Date: Jun 2009
Posts: 172
Rep Power: 17 |
Hi
begin_f_loop should come out after looping over the 29 faces. But instead of looping it once all over the faces, it is looping more than once. Is it clear? You can also try this by printing message. Thank you Mvee |
|
|
|