.Connections.rooted

Information

Syntax

Connections.rooted(x)

Description

The operator "rooted" was introduced to improve efficiency: A tool that constructs the graph with the Connections.branch/.root etc. built-in operators has to cut the graph in order to arrive at "spanning trees". If there is a statement "Connections.branch(A,B)", then "rooted(A)" returns true, if "A" is closer to the root of the spanning tree as "B". Otherwise false is returned. For the MultiBody library this allows to avoid unnecessary small linear systems of equations.

Known Bugs

OpenModelica, rooted(x) always returns true. See rooted ticket in the Modelica Trac for details.


Generated at 2024-11-20T19:25:51Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos