|
MULTIBODY SIMULATION SOFTWARE - API documentation |
#include <CHlcpVariablesGeneric.h>


Public Member Functions | |
| ChLcpVariablesGeneric (int m_ndof=1) | |
| ChLcpVariablesGeneric & | operator= (const ChLcpVariablesGeneric &other) |
| ChMatrix & | GetMass () |
| ChMatrix & | GetInvMass () |
| virtual int | Get_ndof () |
| virtual void | Compute_invMb_v (ChMatrix< float > &result, const ChMatrix< float > &vect) |
| virtual void | Compute_invMb_v (ChMatrix< double > &result, const ChMatrix< double > &vect) |
| virtual void | Compute_inc_invMb_v (ChMatrix< float > &result, const ChMatrix< float > &vect) |
| virtual void | Compute_inc_invMb_v (ChMatrix< double > &result, const ChMatrix< double > &vect) |
| virtual void | Compute_Mb_v (ChMatrix< float > &result, const ChMatrix< float > &vect) |
| virtual void | Compute_Mb_v (ChMatrix< double > &result, const ChMatrix< double > &vect) |
| virtual void | Build_M (ChSparseMatrix &storage, int insrow, int inscol) |
| ChLcpVariablesGeneric & chrono::ChLcpVariablesGeneric::operator= | ( | const ChLcpVariablesGeneric & | other | ) |
Assignment operator: copy from other object.
| ChMatrix& chrono::ChLcpVariablesGeneric::GetMass | ( | ) |
Access the inertia matrix.
| ChMatrix& chrono::ChLcpVariablesGeneric::GetInvMass | ( | ) |
Access the inverted inertia matrix.
| virtual int chrono::ChLcpVariablesGeneric::Get_ndof | ( | ) | [virtual] |
The number of scalar variables in the vector qb (dof=degrees of freedom)
Reimplemented from chrono::ChLcpVariables.
| virtual void chrono::ChLcpVariablesGeneric::Compute_invMb_v | ( | ChMatrix< float > & | result, | |
| const ChMatrix< float > & | vect | |||
| ) | [virtual] |
Computes the product of the inverse mass matrix by a vector, and add to result: result = [invMb]*vect
Implements chrono::ChLcpVariables.
| virtual void chrono::ChLcpVariablesGeneric::Compute_inc_invMb_v | ( | ChMatrix< float > & | result, | |
| const ChMatrix< float > & | vect | |||
| ) | [virtual] |
Computes the product of the inverse mass matrix by a vector, and increment result: result += [invMb]*vect
Implements chrono::ChLcpVariables.
| virtual void chrono::ChLcpVariablesGeneric::Compute_Mb_v | ( | ChMatrix< float > & | result, | |
| const ChMatrix< float > & | vect | |||
| ) | [virtual] |
Computes the product of the mass matrix by a vector, and set in result: result = [Mb]*vect
Implements chrono::ChLcpVariables.
| virtual void chrono::ChLcpVariablesGeneric::Build_M | ( | ChSparseMatrix & | storage, | |
| int | insrow, | |||
| int | inscol | |||
| ) | [virtual] |
Build the mass matrix (for these variables) storing it in 'storage' sparse matrix, at given column/row offset. This function is used only by the ChLcpSimplex solver (iterative solvers don't need to know mass matrix explicitly).
Implements chrono::ChLcpVariables.
CHRONO::ENGINE