public interface BodyConstrainer extends Constrainer
addBilateralConstraints
and addUnilateralConstraints
that permit block indices to be reassigned
via a solve index map.Modifier and Type | Method and Description |
---|---|
int |
addBilateralConstraints(SparseBlockMatrix GT,
VectorNd dg,
int numb,
int[] solveIndexMap)
Implementation of
Constrainer.addBilateralConstraints(SparseBlockMatrix,VectorNd,int) that allows the
block row positions in GT to be reassigned vis a solve matrix
map. |
int |
addUnilateralConstraints(SparseBlockMatrix NT,
VectorNd dn,
int numu,
int[] solveIndexMap)
Implementation of
Constrainer.addUnilateralConstraints(SparseBlockMatrix,VectorNd,int) that allows the
block row positions in NT to be reassigned vis a solve matrix
map. |
addBilateralConstraints, addFrictionConstraints, addUnilateralConstraints, getBilateralForces, getBilateralInfo, getBilateralSizes, getConstrainedComponents, getFrictionForces, getFrictionState, getUnilateralForces, getUnilateralInfo, getUnilateralSizes, getUnilateralState, maxFrictionConstraintSets, setBilateralForces, setFrictionForces, setFrictionState, setUnilateralForces, setUnilateralState, updateConstraints, zeroForces
int addBilateralConstraints(SparseBlockMatrix GT, VectorNd dg, int numb, int[] solveIndexMap)
Constrainer.addBilateralConstraints(SparseBlockMatrix,VectorNd,int)
that allows the
block row positions in GT
to be reassigned vis a solve matrix
map. This enables the creation of constrained system equations for model
component subsets.GT
- matrix to which the bilateral force contraint matrix
is appended.dg
- if non-null
, returns the velocity constraint time
derivativenumb
- starting index for time derivative in dg
solveIndexMap
- if non-null
, maps the solve indices of the
constrained components onto the block-row indices of GT
.numb
int addUnilateralConstraints(SparseBlockMatrix NT, VectorNd dn, int numu, int[] solveIndexMap)
Constrainer.addUnilateralConstraints(SparseBlockMatrix,VectorNd,int)
that allows the
block row positions in NT
to be reassigned vis a solve matrix
map. This enables the creation of constrained system equations for model
component subsets.NT
- matrix to which the bilateral force contraint matrix
is appended.dn
- if non-null
, returns the velocity constraint time
derivativenumu
- starting index for time derivative in dg
solveIndexMap
- if non-null
, maps the solve indices of the
constrained components onto the block-row indices of NT
.numb