| 113 | |
| 114 | |
| 115 | inline 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 | |
| 128 | inline Foam::label |
no test coverage detected