chrono::ChConstraintTuple_4vars< T > Class Template Reference

Description

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 ComputeJacobianTimesState ()
 
void IncrementState (double deltal)
 
void AddJacobianTimesVectorInto (double &result, ChVectorConstRef vect) const
 
void AddJacobianTransposedTimesScalarInto (ChVectorRef result, double l) const
 
void PasteJacobianInto (ChSparseMatrix &mat, unsigned int start_row, unsigned int start_col) const
 
void PasteJacobianTransposedInto (ChSparseMatrix &mat, unsigned int start_row, unsigned int start_col) const
 

Protected Attributes

ChVariablesvariables_1
 
ChVariablesvariables_2
 
ChVariablesvariables_3
 
ChVariablesvariables_4
 
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