|
opensurgsim
|
A solver for mixed LCP problems using the Gauss-Seidel iterative method. More...
#include <MlcpGaussSeidelSolver.h>
Public Member Functions | |
| MlcpGaussSeidelSolver () | |
| Constructor. | |
| MlcpGaussSeidelSolver (double epsilonConvergence, double contactTolerance, size_t maxIterations) | |
| Constructor. More... | |
| virtual | ~MlcpGaussSeidelSolver () |
| Destructor. | |
| bool | solve (const MlcpProblem &problem, MlcpSolution *solution) |
| Resolution of a given MLCP (Gauss Seidel iterative solver) More... | |
| double | getEpsilonConvergence () const |
| void | setEpsilonConvergence (double precision) |
| Set the precision. More... | |
| double | getContactTolerance () const |
| void | setContactTolerance (double tolerance) |
| Set the contact tolerance. More... | |
| size_t | getMaxIterations () const |
| void | setMaxIterations (size_t maxIterations) |
| Set the max number of iterations. More... | |
Public Member Functions inherited from SurgSim::Math::MlcpSolver | |
| MlcpSolver () | |
| Constructor. | |
A solver for mixed LCP problems using the Gauss-Seidel iterative method.
The problem can contain:
See e.g.: Duriez, Christian; Dubois, F.; Kheddar, A.; Andriot, C., "Realistic haptic rendering of interacting deformable objects in virtual environments," IEEE Transactions on Visualization and Computer Graphics, vol.12, no.1, pp.36,47, Jan.-Feb. 2006.
| SurgSim::Math::MlcpGaussSeidelSolver::MlcpGaussSeidelSolver | ( | double | epsilonConvergence, |
| double | contactTolerance, | ||
| size_t | maxIterations | ||
| ) |
Constructor.
| epsilonConvergence | The precision. |
| contactTolerance | The contact tolerance. |
| maxIterations | The max iterations. |
| double SurgSim::Math::MlcpGaussSeidelSolver::getContactTolerance | ( | ) | const |
| double SurgSim::Math::MlcpGaussSeidelSolver::getEpsilonConvergence | ( | ) | const |
| size_t SurgSim::Math::MlcpGaussSeidelSolver::getMaxIterations | ( | ) | const |
| void SurgSim::Math::MlcpGaussSeidelSolver::setContactTolerance | ( | double | tolerance | ) |
Set the contact tolerance.
| tolerance | The contact tolerance. |
| void SurgSim::Math::MlcpGaussSeidelSolver::setEpsilonConvergence | ( | double | precision | ) |
Set the precision.
| precision | The precision. |
| void SurgSim::Math::MlcpGaussSeidelSolver::setMaxIterations | ( | size_t | maxIterations | ) |
Set the max number of iterations.
| maxIterations | The max number of iterations. |
|
virtual |
Resolution of a given MLCP (Gauss Seidel iterative solver)
| problem | The mlcp problem | |
| [out] | solution | The mlcp solution |
Implements SurgSim::Math::MlcpSolver.
1.8.12