incomp-flame-post/code/code_gen/terms.input
ignis f369a16d4b - rename export file
- enable export save
- improve term comment with lval name
- add export offset array
- pass file index to calculation subroutine
- bugfix:
  - get array name after allocation
  - multiply offset by 8 to be size in Byte
2019-07-07 21:41:17 +09:00

15 lines
342 B
Text

[u, v, w, y]
# field_name (arg_name=arg (, pair)* ) = expression
c (export=true, xs=176, xe=400) = 1.0 - y
fsd (export=true, xs=176, xe=400) = sqrt (sqr(ddx(c)) + sqr(ddy(c)) + sqr(ddz(c)))
nx = - ddx(c) / fsd
ny = - ddy(c) / fsd
nz = - ddz(c) / fsd
divn (export=true, xs=176, xe=400) = ddx(nx) + ddy(ny) + ddz(nz)
avg { c, fsd, divn }