A data structure for linear complementarity problems (LCPs) for contact mechanics.TODO.
More...
#include <ContactLCP.h>
|
|
size_t | size () const |
| Returns the size of the contact linear complementarity problem.
|
|
void | project (size_t index) |
| Projects the unknown at the given index on the solution range.
|
|
real | lbound (size_t index) const |
| Returns the lower bound of the unknown at the given index.
|
|
real | ubound (size_t index) const |
| Returns the upper bound of the unknown at the given index.
|
|
real | residual (size_t index) const |
| Calculates the residual of the unknown at the given index.
|
|
real | residual () const |
| Calculates the maximum norm of the residual of the linear complementarity problem.
|
|
|
|
CMatMxN | A_ |
| The system matrix .
|
|
VecN | b_ |
| The right-hand side vector .
|
|
VecN | x_ |
| The vector of unknowns .
|
|
VecN | cof_ |
| The corresponding coefficients of friction.
|
|
A data structure for linear complementarity problems (LCPs) for contact mechanics.
TODO.
real blaze::ContactLCP::lbound |
( |
size_t |
index | ) |
const |
|
inline |
Returns the lower bound of the unknown at the given index.
- Parameters
-
index | Access index. The index has to be in the range . |
- Returns
- void
void blaze::ContactLCP::project |
( |
size_t |
index | ) |
|
|
inline |
Projects the unknown at the given index on the solution range.
- Parameters
-
index | Access index. The index has to be in the range . |
- Returns
- void
real blaze::ContactLCP::residual |
( |
size_t |
index | ) |
const |
|
inline |
Calculates the residual of the unknown at the given index.
- Parameters
-
index | Access index. The index has to be in the range . |
- Returns
- The residual at index index.
real blaze::ContactLCP::residual |
( |
| ) |
const |
|
inline |
Calculates the maximum norm of the residual of the linear complementarity problem.
- Returns
- The maximum norm of the global residual of the LCP.
size_t blaze::ContactLCP::size |
( |
| ) |
const |
|
inline |
Returns the size of the contact linear complementarity problem.
- Returns
- The actual size of the contact LCP.
real blaze::ContactLCP::ubound |
( |
size_t |
index | ) |
const |
|
inline |
Returns the upper bound of the unknown at the given index.
- Parameters
-
index | Access index. The index has to be in the range . |
- Returns
- void
The documentation for this struct was generated from the following file: