InitOp#
- class ansys.scade.apitools.expr.access.InitOp(expression: scade.model.suite.ExprCall)#
Bases:
CallExpressionProvides for the initialization of flows.
The format is
., ...,-> , ...,See the init_op example.
Notes#
The design differs slightly from the meta-model. Because the inputs must be groups of flows, the
InitOpclass does not inherit from theFlowOpclass. It exposes directly the lists of flows and initial values instead of having flows that are instances of theListExpressionclass.Parameters#
- expression :
Call expression to wrap.
Initialize the instance from the Scade expression.
Overview#
Import detail#
from ansys.scade.apitools.expr.access import InitOp
Property detail#
- property InitOp.flows: list[Expression]#
Flows after the first cycle.
- property InitOp.inits: list[Expression]#
Initial values of the flows.