WOLFRAM SYSTEM MODELER

InlineAfterIndexReduction

InlineAfterIndexReduction

Wolfram Language

In[1]:=
SystemModel["ModelicaReference.Annotations.InlineAfterIndexReduction"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Annotation for code generation

Syntax

   annotation"(" InlineAfterIndexReduction "=" ( false | true ) ")

Description

Has only an effect within a function declaration. If true, the model developer proposes to inline the function after the function is differentiated for index reduction, and before any other symbolic transformations are performed.

This annotation cannot be combined with annotations Inline and LateInline!

Example usage

InlineAfterIndexReduction = true is for example used in Modelica.Mechanics.Rotational.Components.AngleToTorqueAdaptor to define that an input signal is the derivative of another input signal.