YasserSelima
Subscriber
in your function, you are putting all the nodes at the same location!!nnmake it nNODE_X(node_p) += -terms_sin_x[0]*(sin(2*pi*term[0]*time/period))+terms_cos_x[0]*(cos(2*pi*term[0]*time/period))-terms_sin_x[1]*(sin(2*pi*term[1]*time/period))+terms_cos_x[1]*(cos(2*pi*term[1]*time/period))-terms_sin_x[2]*(sin(2*pi*term[2]*time/period))+terms_cos_x[2]*(cos(2*pi*term[2]*time/period))-terms_sin_x[3]*(sin(2*pi*term[3]*time/period))+terms_cos_x[3]*(cos(2*pi*term[3]*time/period))-terms_sin_x[4]*(sin(2*pi*term[4]*time/period))+terms_cos_x[4]*(cos(2*pi*term[4]*time/period));nn