MULTIBODY SIMULATION SOFTWARE - API documentation
Public Member Functions | Protected Attributes
chrono::ChLcpConstraintThree Class Reference

#include <CHlcpConstraintThree.h>

Inheritance diagram for chrono::ChLcpConstraintThree:
Inheritance graph
[legend]
Collaboration diagram for chrono::ChLcpConstraintThree:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ChLcpConstraintThree ()
 ChLcpConstraintThree (const ChLcpConstraintThree &other)
ChLcpConstraintThreeoperator= (const ChLcpConstraintThree &other)
virtual ChMatrix< float > * Get_Cq_a ()=0
virtual ChMatrix< float > * Get_Cq_b ()=0
virtual ChMatrix< float > * Get_Cq_c ()=0
virtual ChMatrix< float > * Get_Eq_a ()=0
virtual ChMatrix< float > * Get_Eq_b ()=0
virtual ChMatrix< float > * Get_Eq_c ()=0
ChLcpVariablesGetVariables_a ()
ChLcpVariablesGetVariables_b ()
ChLcpVariablesGetVariables_c ()
virtual void SetVariables (ChLcpVariables *mvariables_a, ChLcpVariables *mvariables_b, ChLcpVariables *mvariables_c)=0
virtual void StreamIN (ChStreamInBinary &mstream)
virtual void StreamOUT (ChStreamOutBinary &mstream)

Protected Attributes

ChLcpVariablesvariables_a
ChLcpVariablesvariables_b
ChLcpVariablesvariables_c

Detailed Description

This class is inherited by the base ChLcpConstraint(), which does almost nothing. So here this class implements the functionality for a constrint between a THREE objects of type ChLcpVariables(), and defines three constraint matrices, whose column number automatically matches the number of elements in variables vectors. Before starting the LCP solver one must provide the proper values in constraints (and update them if necessary), i.e. must set at least the c_i and b_i values, and jacobians.


Member Function Documentation

virtual void chrono::ChLcpConstraintThree::SetVariables ( ChLcpVariables mvariables_a,
ChLcpVariables mvariables_b,
ChLcpVariables mvariables_c 
) [pure virtual]

Set references to the constrained objects, each of ChLcpVariables type, automatically creating/resizing jacobians if needed.

Implemented in chrono::ChLcpConstraintThreeGeneric, and chrono::ChLcpConstraintThreeBBShaft.

void chrono::ChLcpConstraintThree::StreamIN ( ChStreamInBinary mstream) [virtual]

Method to allow deserializing a persistent binary archive (ex: a file) into transient data.

Reimplemented from chrono::ChLcpConstraint.

Reimplemented in chrono::ChLcpConstraintThreeGeneric, and chrono::ChLcpConstraintThreeBBShaft.

void chrono::ChLcpConstraintThree::StreamOUT ( ChStreamOutBinary mstream) [virtual]

Method to allow serializing transient data into a persistent binary archive (ex: a file).

Reimplemented from chrono::ChLcpConstraint.

Reimplemented in chrono::ChLcpConstraintThreeGeneric, and chrono::ChLcpConstraintThreeBBShaft.


CHRONO::ENGINE
C++ library for multibody simulation, (C) Alessandro Tasora
This API documentation has been generated on Tue Jul 10 2012 by Doxygen