|
| void | computeF (const OdeState &state) override |
| | Evaluation of the RHS function \(f(x, v)\) for a given state. More...
|
| |
| void | computeM (const OdeState &state) override |
| | Evaluation of the LHS matrix \(M(x,v)\) for a given state. More...
|
| |
| void | computeD (const OdeState &state) override |
| | Evaluation of \(D = -\frac{\partial f}{\partial v}(x,v)\) for a given state. More...
|
| |
| void | computeK (const OdeState &state) override |
| | Evaluation of \(K = -\frac{\partial f}{\partial x}(x,v)\) for a given state. More...
|
| |
| void | computeFMDK (const OdeState &state) override |
| | Evaluation of \(f(x,v)\), \(M(x,v)\), \(D = -\frac{\partial f}{\partial v}(x,v)\) and \(K = -\frac{\partial f}{\partial x}(x,v)\). More...
|
| |
§ applyCompliance()
| Matrix SurgSim::Math::MassPointsForStatic::applyCompliance |
( |
const OdeState & |
state, |
|
|
const Matrix & |
b |
|
) |
| |
|
inlineoverridevirtual |
Calculate the product \(C.b\) where \(C\) is the compliance matrix with boundary conditions applied.
Note that this can be rewritten as \((B^T)(M^{-1})(B.b) = (B^T)((M^{-1})(B.b)) = x\), where \((M^{-1})(B.b) = y\) is simply the solution to \(M.y = B.b\) and \(B^T.y = x\).
- Parameters
-
| state | \((x, v)\) the current position and velocity to evaluate the various terms with |
| b | The input matrix |
- Returns
- The matrix \(C.b\)
Implements SurgSim::Math::OdeEquation.
§ computeD()
| void SurgSim::Math::MassPointsForStatic::computeD |
( |
const OdeState & |
state | ) |
|
|
inlineoverrideprotectedvirtual |
Evaluation of \(D = -\frac{\partial f}{\partial v}(x,v)\) for a given state.
- Parameters
-
| state | \((x, v)\) the current position and velocity to evaluate the Jacobian matrix with |
Implements SurgSim::Math::OdeEquation.
§ computeF()
| void SurgSim::Math::MassPointsForStatic::computeF |
( |
const OdeState & |
state | ) |
|
|
inlineoverrideprotectedvirtual |
Evaluation of the RHS function \(f(x, v)\) for a given state.
- Parameters
-
| state | \((x, v)\) the current position and velocity to evaluate the function \(f(x,v)\) with |
Implements SurgSim::Math::OdeEquation.
§ computeFMDK()
| void SurgSim::Math::MassPointsForStatic::computeFMDK |
( |
const OdeState & |
state | ) |
|
|
inlineoverrideprotectedvirtual |
Evaluation of \(f(x,v)\), \(M(x,v)\), \(D = -\frac{\partial f}{\partial v}(x,v)\) and \(K = -\frac{\partial f}{\partial x}(x,v)\).
When all the terms are needed, this method can perform optimization in evaluating everything together
- Parameters
-
| state | \((x, v)\) the current position and velocity to evaluate the various terms with |
- Note
- computeF(), computeM(), computeD(), computeK()
Implements SurgSim::Math::OdeEquation.
§ computeK()
| void SurgSim::Math::MassPointsForStatic::computeK |
( |
const OdeState & |
state | ) |
|
|
inlineoverrideprotectedvirtual |
Evaluation of \(K = -\frac{\partial f}{\partial x}(x,v)\) for a given state.
- Parameters
-
| state | \((x, v)\) the current position and velocity to evaluate the Jacobian matrix with |
Implements SurgSim::Math::OdeEquation.
§ computeM()
| void SurgSim::Math::MassPointsForStatic::computeM |
( |
const OdeState & |
state | ) |
|
|
inlineoverrideprotectedvirtual |
Evaluation of the LHS matrix \(M(x,v)\) for a given state.
- Parameters
-
| state | \((x, v)\) the current position and velocity to evaluate the matrix \(M(x,v)\) with |
Implements SurgSim::Math::OdeEquation.
The documentation for this class was generated from the following file: