.ModelicaReference.Annotations.LateInline

Information

Annotation for code generation (inline function body after symbolic processing)

Syntax

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

Description

Has only an effect within a function declaration.

If "LateInline = true", the model developer proposes to inline the function after all symbolic transformations have been performed, but before common subexpression elimination takes place.

If "LateInline = false", the model developer proposes to not inline the function after symbolic transformations have been performed.

Example usage

This annotation is for example used in Modelica.Media.Water.IF97_Utilities.T_props_ph to provide in combination with common subexpression elimination the automatic caching of function calls. Furthermore, it is used in order that a tool is able to propagate specific enthalpy over connectors in the Modelica.Fluid library.


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