Correct connectivity macro use, F_C0(f,t)?
Hello all,
I was wondering if you could help me with the F_C0 and THREAD_T0(t) functions. Essentially, I have : thread_loop_f(t,d) { if (t == Lookup_Thread(d, ID)) { begin_f_loop(f,t) { F_UDMI(f,t,1) = 10000; C_UDMI(F_C0(f,t),THREAD_T0(t),1) = F_UDMI(f,t,1); } } } in a DEFINE_EXECUTE_AT_END macro. Everything interprets fine, but when i test this in my energy source: DEFINE_SOURCE(energy_source,c,t,dS,eqn) { real source; source = C_UDMI(c,t,1); return source; } the UDMI(1) is a 0 when I check it (viewing contours of UDMI(1)) via running a few iterations. Any suggestions? Help is much appreciated. |
All times are GMT -4. The time now is 14:42. |