public static class PointSkinAttachment.ElementConnection extends PointSkinAttachment.FemConnection
PointSkinAttachment.SkinConnection.Type| Constructor and Description |
|---|
ElementConnection() |
ElementConnection(FemElement3dBase elem,
double[] coords,
Vector3d dr,
SkinMeshBody.FemModelInfo finfo,
double wgt) |
ElementConnection(FemElement3dBase elem,
SkinMeshBody.FemModelInfo finfo) |
collectMasterComponents, getFemModel, getNext, getOffset, hasOffset, isControllable, setNext, setOffsetgetWeight, scaleWeight, setWeightpublic ElementConnection()
public ElementConnection(FemElement3dBase elem, SkinMeshBody.FemModelInfo finfo)
public ElementConnection(FemElement3dBase elem, double[] coords, Vector3d dr, SkinMeshBody.FemModelInfo finfo, double wgt)
public PointSkinAttachment.SkinConnection.Type getType()
PointSkinAttachment.SkinConnectiongetType in class PointSkinAttachment.SkinConnection<PointSkinAttachment.FemConnection>public FemNode3d[] getNodes()
getNodes in class PointSkinAttachment.FemConnectionpublic FemElement3dBase getElement()
public void addElementPos(Vector3d pos)
public void addPosition(Vector3d pos, PolarDecomposition3d polard)
addPosition in class PointSkinAttachment.FemConnectionpublic int updateMasterBlocks(MatrixBlock[] blks, int[] blockIdxs, int bi)
updateMasterBlocks in class PointSkinAttachment.FemConnectionpublic void add1DConstraintBlocks(SparseBlockMatrix GT, int bj, double scale, ContactPoint cpnt, Vector3d dir)
add1DConstraintBlocks in class PointSkinAttachment.FemConnectionpublic void add2DConstraintBlocks(SparseBlockMatrix GT, int bj, double scale, ContactPoint cpnt, Vector3d dir0, Vector3d dir1)
add2DConstraintBlocks in class PointSkinAttachment.FemConnectionpublic void addRelativeVelocity(Vector3d vel, double scale, ContactPoint cpnt)
addRelativeVelocity in class PointSkinAttachment.FemConnectionpublic void computeForceOnMasters(VectorNd uvec, Vector3d fc, double scale, ContactPoint cpnt)
computeForceOnMasters in class PointSkinAttachment.FemConnectionpublic PointSkinAttachment.ElementConnection copy()
copy in class PointSkinAttachment.SkinConnection<PointSkinAttachment.FemConnection>public void scaleDistance(double s)
scaleDistance in class PointSkinAttachment.SkinConnection<PointSkinAttachment.FemConnection>public void write(java.io.PrintWriter pw,
double wscale,
NumberFormat fmt,
CompositeComponent ancestor)
throws java.io.IOException
write in class PointSkinAttachment.SkinConnection<PointSkinAttachment.FemConnection>java.io.IOExceptionpublic void scan(ReaderTokenizer rtok, java.util.Deque<ScanToken> tokens) throws java.io.IOException
scan in class PointSkinAttachment.SkinConnection<PointSkinAttachment.FemConnection>java.io.IOExceptionpublic void postscan(java.util.Deque<ScanToken> tokens, java.util.List<SkinMeshBody.BodyInfo> bodyInfos) throws java.io.IOException
postscan in class PointSkinAttachment.SkinConnection<PointSkinAttachment.FemConnection>java.io.IOException