public class FrictionInfo
extends java.lang.Object
DT
. The constraint set contains either one or two friction
directions (corresponding to a column block size of either 1 or 2).Modifier and Type | Field and Description |
---|---|
static int |
BILATERAL |
int |
blockIdx |
int |
blockSize |
int |
contactIdx0 |
int |
contactIdx1 |
int |
flags |
double |
mu |
double |
stictionCompliance |
double |
stictionCreep |
double |
stictionDisp0 |
double |
stictionDisp1 |
Constructor and Description |
---|
FrictionInfo() |
FrictionInfo(FrictionInfo finfo) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(FrictionInfo fi)
Checks FrictionInfo for equality
|
double |
getMaxFriction(VectorNd lam)
Returns the maximum friction value based on the most recent contact force
and the coefficient of friction.
|
void |
set(FrictionInfo finfo) |
void |
set2D(int bi,
int ci,
double mu) |
public static final int BILATERAL
public double mu
public int blockIdx
public int blockSize
public int contactIdx0
public int contactIdx1
public int flags
public double stictionCreep
public double stictionCompliance
public double stictionDisp0
public double stictionDisp1
public FrictionInfo()
public FrictionInfo(FrictionInfo finfo)
public void set(FrictionInfo finfo)
public void set2D(int bi, int ci, double mu)
public double getMaxFriction(VectorNd lam)
public boolean equals(FrictionInfo fi)