Program loop issue

Program loop issue - 消息

#1 已发布: 2018/7/12 22:42:46
Ruben Sidranski

Ruben Sidranski

17个赞,共465个帖子。

组: User

This is a subset of a larger sheet. Delta T should be 0, 15, 15 and I get 0, 23, 15. I zeroed out the first heat input and got a large imbedded matrix for unknown reason, that is secondary SMath.smz (5.52 KiB)已下载 1275 次。
#2 已发布: 2018/7/12 23:49:38
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

... and got a large imbedded matrix for unknown reason ...



It carries 'i' from previous use and it has to be cleared in some way.
That is one of many cases of shadow in context, very annoying has it
does not clear the previous matrix.

ElsidDoctored.sm (10.56 KiB)已下载 1201 次。

#3 已发布: 2018/7/12 23:53:51
Ruben Sidranski

Ruben Sidranski

17个赞,共465个帖子。

组: User

Appears to carry everything though and just evaluates the last value
Forgot to post. I changed q.w to check values on the top SMath.smz (5.62 KiB)已下载 1234 次。

It's in the loop. If I write an equation dt[1:f.dtv(1) above the program, I get one value array. As I scroll it down, it becomes a 3 value array

Jean, it should not clear the matrix, but build it. Maybe look into stacking it
#4 已发布: 2018/7/13 00:30:04
Ruben Sidranski

Ruben Sidranski

17个赞,共465个帖子。

组: User

Looks like it was a structure in the program. I had a "double" program line to start the loop. Cleaned it up and appears to work correctly. Input is always welcome
SMath.smz (5.71 KiB)已下载 1269 次。
#5 已发布: 2018/7/13 09:41:55
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Maybe look into stacking it



SHOULD BE 15, 15 and .0017. What's wrong?
Just collect as you figure it should be.

SMath [2].smz (5.87 KiB)已下载 1021 次。
  • 有新帖
  • 无新帖