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, setOffset
getWeight, scaleWeight, setWeight
public 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.SkinConnection
getType
in class PointSkinAttachment.SkinConnection<PointSkinAttachment.FemConnection>
public FemNode3d[] getNodes()
getNodes
in class PointSkinAttachment.FemConnection
public FemElement3dBase getElement()
public void addElementPos(Vector3d pos)
public void addPosition(Vector3d pos, PolarDecomposition3d polard)
addPosition
in class PointSkinAttachment.FemConnection
public int updateMasterBlocks(MatrixBlock[] blks, int[] blockIdxs, int bi)
updateMasterBlocks
in class PointSkinAttachment.FemConnection
public void add1DConstraintBlocks(SparseBlockMatrix GT, int bj, double scale, ContactPoint cpnt, Vector3d dir)
add1DConstraintBlocks
in class PointSkinAttachment.FemConnection
public void add2DConstraintBlocks(SparseBlockMatrix GT, int bj, double scale, ContactPoint cpnt, Vector3d dir0, Vector3d dir1)
add2DConstraintBlocks
in class PointSkinAttachment.FemConnection
public void addRelativeVelocity(Vector3d vel, double scale, ContactPoint cpnt)
addRelativeVelocity
in class PointSkinAttachment.FemConnection
public void computeForceOnMasters(VectorNd uvec, Vector3d fc, double scale, ContactPoint cpnt)
computeForceOnMasters
in class PointSkinAttachment.FemConnection
public 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.IOException
public void scan(ReaderTokenizer rtok, java.util.Deque<ScanToken> tokens) throws java.io.IOException
scan
in class PointSkinAttachment.SkinConnection<PointSkinAttachment.FemConnection>
java.io.IOException
public 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