28 class SparseRangeReal;
29 class ConstraintImplementation;
30 class DirectSolverData;
50 const agx::Real* iterativeSolutionContacts,
51 const agx::Real* iterativeSolutionBinaryConstraints,
52 const agx::Real* iterativeSolutionManyBodyConstraints,
57 iterativeSolutionContacts( iterativeSolutionContacts ),
58 iterativeSolutionBinaryConstraints( iterativeSolutionBinaryConstraints ),
59 iterativeSolutionManyBodyConstraints( iterativeSolutionManyBodyConstraints ),
60 solveDataH5( solveDataH5 )
65 Args& operator = (
const Args& ) =
delete;
109 void setDirectRow(
agx::UInt directRow );
121 void setIterativeRow(
agx::UInt iterativeRow );
133 void setSparseBoundsIndex(
agx::UInt sparseBoundsIndex );
174 return m_iterativeRow;
179 return m_sparseBoundsIndex;
212 UInt32 getRigidBodyPermutedDirectStartRow(
Index globalIndex )
const;
236 UInt32 getRigidBodyNumRows(
Index globalIndex )
const;
262 agx::UInt getContextIterativeRow()
const;
277 UInt contextDirectRow,
278 UInt contextIterativeRow,
const agx::Real * iterativeSolutionManyBodyConstraints
agx::UInt getNumRows() const
agx::UInt getSparseBoundsIndex() const
const Physics::RigidBodyData & rigidBody
Global rigid body data.
#define AGXPHYSICS_EXPORT
agx::UInt getDirectRow() const
Base class providing referencing counted objects.
Interface class for solver callbacks.
Essentially a sparse array of bounds.
Pointer to a entity instance of type Physics.RigidBody.
Constraint solver callback interface with context and start rows for context.
agx::UInt getIterativeRow() const
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
std::valarray< agx::Real > RealValarray
For this module, vectors are defined using valarray.
const DirectSolverData & directSolverData
Direct solver data the ConstraintNlmcpCallback constraint is part of.
const agx::Real * iterativeSolutionContacts
Smart pointer for handling referenced counted objects.
agx::INlSolveDataH5 * solveDataH5
Args(agx::RealValarray &q, const agx::RealValarray &z, const agx::SparseRangeReal &bounds, const agx::Real *iterativeSolutionContacts, const agx::Real *iterativeSolutionBinaryConstraints, const agx::Real *iterativeSolutionManyBodyConstraints, agx::INlSolveDataH5 *solveDataH5)
Data from the solver the ConstraintNlmcpCallback is part of.
The rigid body class, combining a geometric model and a frame of reference.
const agx::Real * iterativeSolutionBinaryConstraints
const agx::RealValarray & z
const agx::SparseRangeReal & bounds