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

Function resizeState

src/rigidBodyDynamics/rigidBodyModel/rigidBodyModel.C:61–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59
60
61void Foam::RBD::rigidBodyModel::resizeState()
62{
63 Xlambda_.append(spatialTransform());
64 X0_.append(spatialTransform());
65
66 v_.append(Zero);
67 a_.append(Zero);
68 c_.append(Zero);
69
70 IA_.append(spatialTensor::I);
71 pA_.append(Zero);
72
73 S_.append(Zero);
74 S1_.append(Zero);
75 U_.append(Zero);
76 U1_.append(Zero);
77 Dinv_.append(Zero);
78 u_.append(Zero);
79}
80
81
82void Foam::RBD::rigidBodyModel::addRestraints

Callers 2

initializeRootBodyFunction · 0.85
rigidBodyModel.CFile · 0.85

Calls 2

spatialTransformClass · 0.85
appendMethod · 0.45

Tested by

no test coverage detected