public interface BodyConstrainer extends Constrainer, ModelComponent
addBilateralConstraints and addUnilateralConstraints that permit block indices to be reassigned
via a solve index map, and a version of getUnilateralInfo that
controls whether or not deadbands are applied.ModelComponent.FilePathSaveType, ModelComponent.NavpanelVisibility| 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. |
ConnectableBody[] |
getBodies()
Returns a list of the bodies constrained by this constrainer.
|
int |
getUnilateralInfo(MechSystem.ConstraintInfo[] ninfo,
int idx,
boolean addTolerance)
Implementation of
Constrainer#getUnilateralInfo(ConstraintInfo[],int) that
controls whether or not penetration tolerances are added to penetration
distances. |
addBilateralConstraints, addFrictionConstraints, addUnilateralConstraints, getBilateralForces, getBilateralInfo, getBilateralSizes, getConstrainedComponents, getFrictionForces, getFrictionState, getUnilateralForces, getUnilateralInfo, getUnilateralSizes, getUnilateralState, maxFrictionConstraintSets, setBilateralForces, setFrictionForces, setFrictionState, setUnilateralForces, setUnilateralState, updateConstraints, zeroForcesconnectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferencesgetAllPropertyInfo, getPropertygetChildren, hasChildrenpostscanisWritable, writeint 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 dgsolveIndexMap - if non-null, maps the solve indices of the
constrained components onto the block-row indices of GT.numbint 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 dgsolveIndexMap - if non-null, maps the solve indices of the
constrained components onto the block-row indices of NT.numbint getUnilateralInfo(MechSystem.ConstraintInfo[] ninfo, int idx, boolean addTolerance)
Constrainer#getUnilateralInfo(ConstraintInfo[],int) that
controls whether or not penetration tolerances are added to penetration
distances.ninfo - returns the constraint informationidx - starting location in ninfo for returning constraintaddTolerance - if true, adds any specified penetration
tolerance to the penetration distanceidxConnectableBody[] getBodies()
null should be included in the list.