MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / master

Method master

src/rigidBodyDynamics/rigidBodyModel/rigidBodyModelI.H:115–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113
114
115inline Foam::label Foam::RBD::rigidBodyModel::master(label bodyID) const
116{
117 if (bodyID < 0)
118 {
119 return mergedBody(bodyID).masterID();
120 }
121 else
122 {
123 return bodyID;
124 }
125}
126
127
128inline Foam::label

Callers 4

restrainFunction · 0.45
restrainFunction · 0.45
restrainFunction · 0.45

Calls 1

masterIDMethod · 0.80

Tested by

no test coverage detected