 |
AGXDynamics
2.35.0.3
|
agx::Real calculateNormalImpact(const agx::RealValarray &z) const
Translational or rotational friction controller for Hinge, Prismatic and CylindricalJoint.
virtual void postIterativeSolve(const agx::NlmcpCallback::Args &) const override
Before direct solve, after iterative solve.
virtual agx::Real calculateResidual(const agx::NlmcpCallback::Args &args) const override
Calculate residual given current solution.
virtual ~FrictionControllerNlCallback()
virtual void update(const agx::NlmcpCallback::Args &args) const override
Update call when bounds and/or q may be updated given the current solution z.
static ContextData findContextData(const agx::ConstraintImplementation *context)
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
agx::Real calculateNormalForce() const
Constraint solver callback interface with context and start rows for context.
std::valarray< agx::Real > RealValarray
For this module, vectors are defined using valarray.
virtual agx::Bool initialize(const agx::NlmcpCallback::Args &args) override
This method is a test for the non-linear solver if this callback is active for non-linear solve.
virtual void onSetContext(const NlmcpCallbackSolverData &) override
Called when context constraint has been set and all data is valid.
Solver callback class for elementary FrictionController.
Data from the solver the ConstraintNlmcpCallback is part of.
const AGXCORE_EXPORT InvalidIndexStruct InvalidIndex
FrictionControllerNlCallback(const agx::FrictionController *frictionController)
Default constructor.