How to control the time step and iteration for summation?
Hi,
I need to sum a variable per each time step while not sum per each iteration. the UDF is like the following: if (N_TIME==1) { sum=C_UDMI(c,t,0); N=0; } else if (N_TIME==N) { sum+=C_UDMI(c,t,0); } ... N=N_TIME+1; It does not working. What's wrong? Thanks in advance |
I mean, the UDF did not do the summation.
|
Compile and hook it.
|
All times are GMT -4. The time now is 14:50. |