chrono::ChConstraintTuple_4vars< T > Class Template Reference


template<class T>
class chrono::ChConstraintTuple_4vars< T >

Case of tuple with reference to 4 ChVariable objects:

#include <ChConstraintTuple.h>

Collaboration diagram for chrono::ChConstraintTuple_4vars< T >:

Public Member Functions

 ChConstraintTuple_4vars ()
 Default constructor.
 ChConstraintTuple_4vars (const ChConstraintTuple_4vars &other)
 Copy constructor.
ChConstraintTuple_4varsoperator= (const ChConstraintTuple_4vars &other)
 Assignment operator: copy from other object.
ChRowVectorRef Get_Cq_1 ()
ChRowVectorRef Get_Cq_2 ()
ChRowVectorRef Get_Cq_3 ()
ChRowVectorRef Get_Cq_4 ()
ChVectorRef Get_Eq_1 ()
ChVectorRef Get_Eq_2 ()
ChVectorRef Get_Eq_3 ()
ChVectorRef Get_Eq_4 ()
ChVariablesGetVariables_1 ()
ChVariablesGetVariables_2 ()
ChVariablesGetVariables_3 ()
ChVariablesGetVariables_4 ()
void SetVariables (T &m_tuple_carrier)
void Update_auxiliary (double &g_i)
double Compute_Cq_q ()
void Increment_q (const double deltal)
void MultiplyAndAdd (double &result, const ChVectorDynamic< double > &vect) const
void MultiplyTandAdd (ChVectorDynamic< double > &result, double l)
void Build_Cq (ChSparseMatrix &storage, int insrow)
void Build_CqT (ChSparseMatrix &storage, int inscol)

Protected Attributes

ChRowVectorN< double, T::nvars1 > Cq_1
 The [Cq] jacobian of the constraint, split in horizontal chunks.
ChRowVectorN< double, T::nvars2 > Cq_2
ChRowVectorN< double, T::nvars3 > Cq_3
ChRowVectorN< double, T::nvars4 > Cq_4
ChVectorN< double, T::nvars1 > Eq_1
 The [Eq] product [Eq]=[invM]*[Cq]'.
ChVectorN< double, T::nvars2 > Eq_2
ChVectorN< double, T::nvars3 > Eq_3
ChVectorN< double, T::nvars4 > Eq_4

The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono/solver/ChConstraintTuple.h