userFuncExpression

userFuncExpression

Works with all licenses.

Defines a function that wraps an Expression Block.

userFuncExpression Parameters

Expression (block)

The Expression wrapped by the STFunc.

Example userFuncExpression Block

<STFunc function>
  kind = userFuncExpression
  <Expression updateFunction>
    expression = min(vector(R_CAV^2 -x^2-y^2, z - Z_START +1e-6*DZ, Z_START+LZ+1e-6*DZ-z))
  </Expression>
</STFunc>