.ModelicaReference.Annotations.InlineAfterIndexReduction

Information

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.


Generated at 2020-06-05T21:39:08Z by OpenModelica 1.16.0~dev-442-g2e5bc9f