public class FemNode3d extends FemNode
ModelComponent.NavpanelVisibility
Modifier and Type | Field and Description |
---|---|
static PropertyList |
myProps |
myRenderCoords
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
TRANSLUCENT, TWO_DIMENSIONAL
ARTICULATED, SIMULATING
COPY_REFERENCES
Constructor and Description |
---|
FemNode3d() |
FemNode3d(double x,
double y,
double z) |
FemNode3d(Point3d p) |
Modifier and Type | Method and Description |
---|---|
void |
addElementDependency(FemElement3d e) |
FemNodeNeighbor |
addIndirectNeighbor(FemNode3d nbrNode) |
void |
clearIndirectNeighbors() |
void |
connectToHierarchy()
Called by the system after this component is added to the
component hierarchy (i.e., when it is added as a child of another
CompositeComponent).
|
FemNode3d |
copy(int flags,
java.util.Map<ModelComponent,ModelComponent> copyMap)
Create a copy of this component.
|
void |
deregisterNodeNeighbor(FemNode3d nbrNode) |
void |
disconnectFromHierarchy()
Called by the system after this component is removed from the component
hierarchy (i.e., when it is removed as a child of its parent).
|
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
Vector3d |
getDisplacement() |
java.util.LinkedList<FemElement3d> |
getElementDependencies() |
int |
getIncompressIndex() |
int |
getIndex() |
FemNodeNeighbor |
getIndirectNeighbor(FemNode3d node) |
FemNodeNeighbor |
getIndirectNeighborBySolveIndex(int idx) |
java.util.LinkedList<FemNodeNeighbor> |
getIndirectNeighbors()
Indirect neighbors are the neighbors-of-neighbors.
|
Vector3d |
getInternalForce() |
FemNodeNeighbor |
getNodeNeighbor(FemNode3d node) |
FemNodeNeighbor |
getNodeNeighborBySolveIndex(int idx) |
java.util.LinkedList<FemNodeNeighbor> |
getNodeNeighbors() |
Point3d |
getRestPosition() |
SymmetricMatrix3d |
getStrain()
Returns the averge strain for this node.
|
SymmetricMatrix3d |
getStress()
Returns the averge stress for this node.
|
Vector3d |
getTargetDisplacement() |
double |
getVonMisesStrain()
Returns the von Mises strain for this node.
|
double |
getVonMisesStress()
Returns the von Mises stress for this node.
|
int |
numAdjacentElements() |
void |
removeElementDependency(FemElement3d e) |
void |
resetRestPosition() |
void |
scaleDistance(double s)
Scales all distance coordinates.
|
boolean |
scanItem(ReaderTokenizer rtok,
java.util.Deque<ScanToken> tokens) |
void |
setIncompressIndex(int idx) |
void |
setIndex(int idx) |
void |
setRestPosition(Point3d pos) |
void |
setStrain(double vms) |
void |
setStress(double vms) |
void |
setTargetDisplacement(Vector3d del) |
void |
transformGeometry(AffineTransform3dBase X,
TransformableGeometry topObject,
int flags)
Applies an affine transformation to the geometry of this object.
|
void |
zeroStrain() |
void |
zeroStress() |
applyGravity, applyPosImpulse, getConstraint, getCopyReferences, getInverseMass, getMass, getMass, getMass, getVelDerivative, isDuplicatable, scaleMass, setConstraint, setDynamic, setMass, transformGeometry
addExternalForce, addForce, addPosImpulse, addPosition, addPosJacobian, addScaledExternalForce, addScaledForce, addScaledPosition, addScaledVelocity, addSolveBlock, addSolveBlocks, addTargetJacobian, addToSolveBlockDiagonal, addVelJacobian, addVelocity, applyForces, createMassBlock, createRenderProps, createSolveBlock, distance, distance, getExternalForce, getForce, getForce, getJacobianType, getMassForces, getPointDamping, getPointDampingMode, getPosDerivative, getPosition, getPosition, getPosState, getPosStateSize, getRenderCoords, getRenderProps, getSelection, getState, getState, getTargetActivity, getTargetPos, getTargetPosition, getTargetVel, getTargetVelocity, getTracables, getTracingProbe, getVelocity, getVelocity, getVelState, getVelStateSize, isMassConstant, isSelectable, prerender, render, resetTargets, setExternalForce, setForce, setForce, setForcesToExternal, setPointDamping, setPointDampingMode, setPosition, setPosition, setPosState, setRenderProps, setScaledExternalForce, setState, setState, setState, setTargetActivity, setTargetPos, setTargetPosition, setTargetVel, setTargetVelocity, setVelocity, setVelocity, setVelState, subForce, updateBounds, velocityLimitExceeded, zeroExternalForces, zeroForces
addMasterAttachment, getAttachment, getMasterAttachments, getSolveIndex, hasState, isActive, isAttached, isControllable, isDynamic, isParametric, removeMasterAttachment, setAttached, setSolveIndex
getRenderHints, numSelectionQueriesNeeded, updateRenderProps
checkFlag, checkName, checkNameUniqueness, clearFlag, clone, createTempFlag, getChildren, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, hasChildren, isFixed, isMarked, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, postscan, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, scan, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setSelected, updateReferences, write
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isSelected
numSelectionQueriesNeeded
getRenderHints
addMasterAttachment, checkFlag, clearFlag, getAttachment, getMasterAttachments, getSolveIndex, isActive, isAttached, isControllable, isDynamic, isParametric, removeMasterAttachment, setAttached, setFlag, setSolveIndex
getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, postscan, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, updateReferences
getChildren, hasChildren
isWritable, write
public static PropertyList myProps
public FemNode3d()
public FemNode3d(Point3d p)
public FemNode3d(double x, double y, double z)
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
getAllPropertyInfo
in class Particle
public int getIndex()
public void setIndex(int idx)
public int getIncompressIndex()
public void setIncompressIndex(int idx)
public double getVonMisesStress()
public Vector3d getDisplacement()
public Vector3d getTargetDisplacement()
public void setTargetDisplacement(Vector3d del)
public SymmetricMatrix3d getStress()
public void setStress(double vms)
public void zeroStress()
public double getVonMisesStrain()
public SymmetricMatrix3d getStrain()
public void setStrain(double vms)
public void zeroStrain()
public Vector3d getInternalForce()
public java.util.LinkedList<FemNodeNeighbor> getNodeNeighbors()
public FemNodeNeighbor getNodeNeighborBySolveIndex(int idx)
public FemNodeNeighbor getNodeNeighbor(FemNode3d node)
public java.util.LinkedList<FemNodeNeighbor> getIndirectNeighbors()
public FemNodeNeighbor getIndirectNeighborBySolveIndex(int idx)
public FemNodeNeighbor getIndirectNeighbor(FemNode3d node)
public void clearIndirectNeighbors()
public FemNodeNeighbor addIndirectNeighbor(FemNode3d nbrNode)
public void deregisterNodeNeighbor(FemNode3d nbrNode)
public boolean scanItem(ReaderTokenizer rtok, java.util.Deque<ScanToken> tokens) throws java.io.IOException
java.io.IOException
public void transformGeometry(AffineTransform3dBase X, TransformableGeometry topObject, int flags)
TransformableGeometry
topComponent
should be the component for which the method
was initially invoked. The variable flags
provides
information about the context in which the transformation is
being applied. At present, the available flags are
TransformableGeometry.SIMULATING
and TransformableGeometry.ARTICULATED
.transformGeometry
in interface TransformableGeometry
transformGeometry
in class Particle
X
- affine transformationtopObject
- component on which the method was initially invokedflags
- provides information about the context in which the
transformation is being applied.public void scaleDistance(double s)
ScalableUnits
scaleDistance
in interface ScalableUnits
scaleDistance
in class Particle
s
- scaling factorpublic void addElementDependency(FemElement3d e)
public void removeElementDependency(FemElement3d e)
public java.util.LinkedList<FemElement3d> getElementDependencies()
public int numAdjacentElements()
public void connectToHierarchy()
ModelComponentBase
When this method is called, ModelComponent.getParent()
will return
the new parent component; the system will have set this beforehand.
connectToHierarchy
in interface ModelComponent
connectToHierarchy
in class ModelComponentBase
public void disconnectFromHierarchy()
ModelComponentBase
When this
method is called, ModelComponent.getParent()
will still return this original
parent component; the system will set this to null
after.
disconnectFromHierarchy
in interface ModelComponent
disconnectFromHierarchy
in class ModelComponentBase
public void resetRestPosition()
public Point3d getRestPosition()
public void setRestPosition(Point3d pos)
public FemNode3d copy(int flags, java.util.Map<ModelComponent,ModelComponent> copyMap)
CopyableComponent
COPY_REFERENCES
is set in flags
, then any component referenced
by this component should itself be set to a copy. This
should be done first checking copyMap
for an
existing copy of the referenced component. If there is no existing
copy, then a copy should be created by calling copy
recursively and adding the new copy to copyMap
.copy
in interface CopyableComponent
copy
in class FemNode