.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-03-27T19:15:56Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos