Returns which node of a connection branch is closer to root.


b = Connections.rooted(A.R);
b = rooted(A.R);  // deprecated


If the operator Connections.rooted(A.R) is used, or the equivalent but deprecated operator rooted(A.R), then there must be exactly one statement Connections.branch(A.R,B.R) involving A.R (the argument of Connections.rooted must be the first argument of Connections.branch). In that case Connections.rooted(A.R) returns true, if A.R is closer to the root of the spanning tree than B.R; otherwise false is returned.


This operator can be used to avoid equation systems by providing analytic inverses, see Modelica.Mechanics.MultiBody.Parts.FixedRotation.

Generated at 2020-07-15T01:52:57Z by OpenModelicaOpenModelica 1.16.0~dev-555-g52c29dc using GenerateDoc.mos