33 #ifndef DART_CONSTRAINT_BOXEDLCPCONSTRAINTSOLVER_HPP_
34 #define DART_CONSTRAINT_BOXEDLCPCONSTRAINTSOLVER_HPP_
40 namespace constraint {
63 Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>
mA;
93 std::size_t n,
double* A, std::size_t begin, std::size_t end);
Definition: BoxedLcpConstraintSolver.hpp:43
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > mA
Cache data for boxed LCP formulation.
Definition: BoxedLcpConstraintSolver.hpp:63
Eigen::VectorXd mLo
Cache data for boxed LCP formulation.
Definition: BoxedLcpConstraintSolver.hpp:75
bool isSymmetric(std::size_t n, double *A)
Return true if the matrix is symmetric.
Definition: BoxedLcpConstraintSolver.cpp:208
Eigen::VectorXi mOffset
Cache data for boxed LCP formulation.
Definition: BoxedLcpConstraintSolver.hpp:84
ConstBoxedLcpSolverPtr getBoxedLcpSolver() const
Returns boxed LCP (BLCP) solver.
Definition: BoxedLcpConstraintSolver.cpp:75
Eigen::VectorXd mX
Cache data for boxed LCP formulation.
Definition: BoxedLcpConstraintSolver.hpp:66
BoxedLcpSolverPtr mBoxedLcpSolver
Boxed LCP solver.
Definition: BoxedLcpConstraintSolver.hpp:60
Eigen::VectorXd mW
Cache data for boxed LCP formulation.
Definition: BoxedLcpConstraintSolver.hpp:72
void print(std::size_t n, double *A, double *x, double *lo, double *hi, double *b, double *w, int *findex)
Print debug information.
Definition: BoxedLcpConstraintSolver.cpp:273
void setBoxedLcpSolver(BoxedLcpSolverPtr lcpSolver)
Sets boxed LCP (BLCP) solver.
Definition: BoxedLcpConstraintSolver.cpp:62
Eigen::VectorXd mB
Cache data for boxed LCP formulation.
Definition: BoxedLcpConstraintSolver.hpp:69
Eigen::VectorXd mHi
Cache data for boxed LCP formulation.
Definition: BoxedLcpConstraintSolver.hpp:78
Eigen::VectorXi mFIndex
Cache data for boxed LCP formulation.
Definition: BoxedLcpConstraintSolver.hpp:81
void solveConstrainedGroup(ConstrainedGroup &group) override
Definition: BoxedLcpConstraintSolver.cpp:81
BoxedLcpConstraintSolver(double timeStep, BoxedLcpSolverPtr boxedLcpSolver=nullptr)
Constructor.
Definition: BoxedLcpConstraintSolver.cpp:53
ConstrainedGroup is a group of skeletons that interact each other with constraints.
Definition: ConstrainedGroup.hpp:58
ConstraintSolver manages constraints and computes constraint impulses.
Definition: ConstraintSolver.hpp:56
std::shared_ptr< const BoxedLcpSolver > ConstBoxedLcpSolverPtr
Definition: SmartPointer.hpp:55
std::shared_ptr< BoxedLcpSolver > BoxedLcpSolverPtr
Definition: SmartPointer.hpp:55
Definition: BulletCollisionDetector.cpp:63