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

Method masterPoint

src/rigidBodyDynamics/rigidBodyModel/rigidBodyModelI.H:162–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160
161
162inline Foam::vector Foam::RBD::rigidBodyModel::masterPoint
163(
164 const label bodyID,
165 const vector& p
166) const
167{
168 if (merged(bodyID))
169 {
170 return
171 (
172 mergedBody(bodyID).masterXT().inv()
173 && spatialVector(Zero, p)
174 ).l();
175 }
176 else
177 {
178 return p;
179 }
180}
181
182
183inline Foam::spatialVector Foam::RBD::rigidBodyModel::v

Callers

nothing calls this directly

Calls 2

lMethod · 0.80
invMethod · 0.45

Tested by

no test coverage detected