public class DirectorFrameAttachment extends DynamicAttachmentBase
ModelComponent.FilePathSaveType, ModelComponent.NavpanelVisibilityenforceUniqueCompositeNames, enforceUniqueNames, myNumber, myProps, NULL_OBJ, useCompactPathNames| Constructor and Description |
|---|
DirectorFrameAttachment() |
DirectorFrameAttachment(FemNode3d node,
Frame frame) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMassToMasters() |
void |
applyForces() |
BackNode3d |
getBackNode() |
boolean |
getDerivative(double[] buf,
int idx) |
Frame |
getFrame() |
MatrixBlock |
getGT(int idx)
Returns the transpose of the constraint matrix G associated
with the idx-th master component.
|
void |
getHardReferences(java.util.List<ModelComponent> refs)
Redefine to use the node instead of the backNode as hard
reference.
|
Point3d |
getLoc() |
Vector3d |
getLocDir() |
MatrixBlock[] |
getMasterBlocks() |
DynamicComponent[] |
getMasters() |
FemNode3d |
getNode() |
BackNode3d |
getSlave()
Returns the slave DynamicMechComponent associated with this attachment.
|
void |
invalidateMasters() |
void |
mulSubGT(double[] ybuf,
int yoff,
double[] xbuf,
int xoff,
int idx)
Computes
|
void |
mulSubGTM(MatrixBlock D,
MatrixBlock M,
int idx)
Computes
|
void |
mulSubMG(MatrixBlock D,
MatrixBlock M,
int idx)
Computes
|
int |
numMasters() |
void |
updateAttachment()
Update attachment to reflect changes in the slave state.
|
void |
updatePosStates() |
void |
updateVelStates() |
addBackRefs, addBackRefs, addConnectedMasterRefs, clone, connectAttachment, connectToHierarchy, copy, disconnectFromHierarchy, getAttachment, oneMasterActive, oneMasterNotAttached, removeBackRefs, removeBackRefs, removeConnectedMasterRefs, setSlaveAffectsStiffness, slaveAffectsStiffnesscheckFlag, checkName, checkNameUniqueness, clearFlag, createTempFlag, getAllPropertyInfo, getChildren, getGrandParent, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, hasChildren, hasState, isFixed, isMarked, isScanning, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, postscan, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, scan, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setScanning, setSelected, setWritable, updateReferences, writeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferencesgetAllPropertyInfo, getPropertygetChildren, hasChildrenpostscanisWritable, writepublic Frame getFrame()
public BackNode3d getSlave()
DynamicAttachmentBasenull.getSlave in interface DynamicAttachmentgetSlave in class DynamicAttachmentBasepublic BackNode3d getBackNode()
public FemNode3d getNode()
public Point3d getLoc()
public Vector3d getLocDir()
public DynamicComponent[] getMasters()
getMasters in interface DynamicAttachmentgetMasters in class DynamicAttachmentBasepublic MatrixBlock[] getMasterBlocks()
public int numMasters()
numMasters in interface DynamicAttachmentnumMasters in class DynamicAttachmentBasepublic void invalidateMasters()
invalidateMasters in interface DynamicAttachmentinvalidateMasters in class DynamicAttachmentBasepublic void addMassToMasters()
addMassToMasters in interface DynamicAttachmentaddMassToMasters in class DynamicAttachmentBasepublic void applyForces()
applyForces in interface DynamicAttachmentapplyForces in class DynamicAttachmentBasepublic void updateAttachment()
DynamicAttachmentBaseupdateAttachment in interface DynamicAttachmentupdateAttachment in class DynamicAttachmentBasepublic void updatePosStates()
updatePosStates in interface DynamicAttachmentupdatePosStates in class DynamicAttachmentBasepublic void updateVelStates()
updateVelStates in interface DynamicAttachmentupdateVelStates in class DynamicAttachmentBasepublic boolean getDerivative(double[] buf,
int idx)
getDerivative in interface DynamicAttachmentgetDerivative in class DynamicAttachmentBasepublic void mulSubMG(MatrixBlock D, MatrixBlock M, int idx)
DynamicAttachmentBaseD -= M Gwhere D and M are matrices associated with master and slave components, respectively, and G is the constraint matrix for the attachment.
mulSubMG in interface DynamicAttachmentmulSubMG in class DynamicAttachmentBaseD - dependent matrix associated with a master componentM - matrix associated with a slave componentpublic MatrixBlock getGT(int idx)
DynamicAttachmentBasegetGT in interface DynamicAttachmentgetGT in class DynamicAttachmentBaseidx - index of the master componentpublic void mulSubGT(double[] ybuf,
int yoff,
double[] xbuf,
int xoff,
int idx)
DynamicAttachmentBase
T
y -= G x
where y and x are vectors associated with master and slave components,
respectively, and G is the constraint matrix for the attachment.mulSubGT in interface DynamicAttachmentmulSubGT in class DynamicAttachmentBaseybuf - buffer into which to store resultyoff - offset into ybufxbuf - buffer containing right hand side vectorxoff - offset into xbufidx - master component indexpublic void mulSubGTM(MatrixBlock D, MatrixBlock M, int idx)
DynamicAttachmentBase
T
D -= G M
where D and M are matrices associated with master and slave components,
respectively, and G is the constraint matrix for the attachment.mulSubGTM in interface DynamicAttachmentmulSubGTM in class DynamicAttachmentBaseD - dependent matrix associated with a master componentM - matrix associated with a slave componentpublic void getHardReferences(java.util.List<ModelComponent> refs)
getHardReferences in interface ModelComponentgetHardReferences in class DynamicAttachmentBaserefs - list to which hard references are appended