userFuncExpression

userFuncExpression

Works with VSimBase, VSimEM, VSimPD, VSimPA, and VSimMD 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>