public class HydrostatModel extends FemMuscleModel
Modifier and Type | Class and Description |
---|---|
static class |
HydrostatModel.Axis |
static class |
HydrostatModel.Element |
static class |
HydrostatModel.Hemisphere |
static class |
HydrostatModel.Shape |
static class |
HydrostatModel.TubeAxis |
FemModel.ElementFilter, FemModel.IncompMethod, FemModel.Ranging, FemModel.SurfaceRender
ExcitationComponent.CombinationRule
ModelComponent.NavpanelVisibility
MechSystem.ConstraintInfo, MechSystem.FrictionInfo
Collidable.Collidability, Collidable.Group
HasAuxState.StateContext
CompositeComponent.NavpanelDisplay
Modifier and Type | Field and Description |
---|---|
ControlPanel |
bundlesPanel |
ControlPanel |
exciterPanel |
java.util.ArrayList<java.lang.String> |
labels |
myProps
abortOnInvertedElems, checkTangentStability, DEFAULT_HARD_INCOMP, DEFAULT_SOFT_INCOMP, DEFAULT_SURFACEMESH_NAME, defaultAutoGenerateSurface, detJStepReductionLimit, frameMassFraction, noIncompressStiffnessDamping, useFrameRelativeCouplingMasses
myParametricsInSystemMatrix
DEFAULT_NAVPANEL_DISPLAY
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
TG_ARTICULATED, TG_DRAGGER, TG_PRESERVE_ORIENTATION, TG_SIMULATING
COMPUTE_CONTACTS, UPDATE_CONTACTS
All, AllBodies, Deformable, Rigid, Self
COPY_REFERENCES
TRANSPARENT, TWO_DIMENSIONAL
Constructor and Description |
---|
HydrostatModel() |
HydrostatModel(java.lang.String name) |
HydrostatModel(java.lang.String name,
boolean fullMusclesAP,
HydrostatModel.Shape shape) |
HydrostatModel(java.lang.String name,
HydrostatModel.Element elem,
HydrostatModel.Shape shape,
double l,
double r,
int nl,
int nr,
boolean simpleExciters) |
HydrostatModel(java.lang.String name,
HydrostatModel.Element elem,
HydrostatModel.Shape shape,
double l,
double r,
int nl,
int nr,
boolean simpleExciters,
boolean fullMusclesAP) |
Modifier and Type | Method and Description |
---|---|
void |
addBeamMuscles() |
void |
addBundles() |
void |
addExciters() |
void |
addMuscles(HydrostatModel.Shape s) |
void |
addSimpleExciters() |
void |
addSimpleTubeExciters() |
void |
addTentacleExciters() |
void |
addTentacleExcitersX() |
void |
addTentacleMuscles() |
void |
addTubeExciters() |
void |
addTubeMuscles() |
void |
clampEnd() |
void |
colorBundles(java.lang.String[] names,
boolean createPanel) |
void |
colorExciter(MuscleExciter e,
java.awt.Color color) |
void |
colorExciters(java.lang.String[] names,
boolean createPanel) |
void |
createBeam(HydrostatModel.Element e) |
void |
createBundle(java.lang.String name,
Point3d emin,
Point3d emax,
java.lang.String prefix) |
void |
createBundlesPanel(java.lang.String[] names) |
void |
createExciter(java.lang.String name,
Point3d emin,
Point3d emax,
MuscleBundle b) |
void |
createExcitersPanel(java.lang.String[] names) |
void |
createGeometry(HydrostatModel.Element e,
HydrostatModel.Shape s) |
void |
createGroup(java.lang.String name,
java.lang.String[] exTargets) |
void |
createGroup(java.lang.String prefix,
java.lang.String name,
java.lang.String[] exTargets) |
void |
createMuscles(HydrostatModel.Axis axis,
MuscleBundle bundle) |
void |
createMuscles(HydrostatModel.Axis axis,
java.lang.String prefix) |
java.util.ArrayList<ModelComponent> |
createTargetList() |
java.util.ArrayList<ModelComponent> |
createTargetList(int[] nodeNums) |
void |
createTube(HydrostatModel.Element e) |
void |
createTubeHelixMuscles() |
void |
createTubeLongMuscles() |
void |
createTubeMuscles(HydrostatModel.TubeAxis axis,
MuscleBundle bundle) |
ControlPanel |
getMusclePanel() |
double |
getTargetPointRadius() |
void |
initialize(double t)
Causes this model to initialize itself at time t.
|
boolean |
isClose(Point3d pos,
Point pt) |
boolean |
isUsingExciters() |
void |
setupRenderProps() |
addExcitationSource, addExcitationSource, addFiberMeshBundle, addMuscleBundle, addMuscleExciter, addPosJacobian, addSolveBlocks, addTransformableDependencies, addVelJacobian, applyForces, clearMuscleBundles, clearMuscleExciters, computeAverageFiberDirection, computeStress, computeStress, computeTangent, computeTangent, createDefaultMuscleMaterial, createMuscleMaterial, getActivations, getActivations, getAllPropertyInfo, getCombinationRule, getDefaultActivationWeight, getDirectionRenderLen, getDirectionRenderLenMode, getDirectionRenderType, getDirectionRenderTypeMode, getExcitation, getExcitationColor, getExcitationColorMode, getExcitationGain, getFiberRenderProps, getMaxColoredExcitation, getMaxColoredExcitationMode, getMuscleBundles, getMuscleExciters, getMuscleMaterial, getNetExcitation, getSoftReferences, hasSymmetricTangent, isCorotated, isInvertible, isLinear, notifyActivationsSet, numActivations, prerender, recursivelyInitialize, removeExcitationSource, removeMuscleBundle, removeMuscleExciter, render, scaleDistance, scaleMass, setActivations, setActivations, setBundlesActive, setCombinationRule, setDefaultValues, setDirectionRenderLen, setDirectionRenderLenMode, setDirectionRenderType, setDirectionRenderTypeMode, setExcitation, setExcitationColor, setExcitationColorMode, setExcitationGain, setFiberRenderProps, setMaxColoredExcitation, setMaxColoredExcitationMode, setMuscleMaterial, updateReferences
addBilateralConstraints, addConnector, addElement, addElements, addGeneralMassBlocks, addMarker, addMarker, addMarker, addMaterialBundle, addMesh, addMesh, addMeshComp, addNode, addNodes, addNumberedElement, addNumberedMarker, addNumberedMarker, addNumberedNode, advanceAuxState, attachFrame, clearElements, clearMaterialBundles, clearMeshComps, componentChanged, copy, createDefaultColorMap, createFrameAttachment, createFrameAttachment, createPointAttachment, createPointAttachment, createStiffnessMatrix, createSurfaceMesh, dispose, findContainingElement, findNearestElement, findNearestNode, findNearestSurfaceElement, getAuxState, getAuxStateComponents, getAxisLength, getBilateralImpulses, getBilateralInfo, getBilateralSizes, getByNumber, getCollidable, getCollidableAncestor, getCollidables, getColorMap, getColorMapMode, getConnectors, getConstrainedComponents, getCopyReferences, getDynamicComponents, getElement, getElementByNumber, getElementNeighbors, getElements, getElementWidgetSize, getElementWidgetSizeMode, getFrame, getFrameConstraint, getHardIncompMethod, getIncompCompliance, getIncompressible, getIncompressibleRange, getInitialAuxState, getJacobianType, getMassMatrixValues, getMaterialBundles, getMeshComp, getMeshComp, getMeshComps, getNodalDeformationGradients, getNodalPlotRange, getNode, getNodeNeighbors, getNodes, getSelection, getSoftIncompMethod, getSoftIncompMethodRange, getSurfaceElement, getSurfaceMesh, getSurfaceMeshComp, getSurfaceMeshes, getSurfaceNode, getSurfaceVertex, invalidateRestData, invalidateStressAndStiffness, invalidateSurfaceMesh, isAbortOnInvertedElements, isAutoGeneratingSurface, isCompound, isDeformable, isDuplicatable, isFrameRelative, isFreeBody, isSurfaceMeshValid, isSurfaceNode, isVolumeValid, isWarnOnInvertedElements, markInvertedRestElements, mulInverseMass, numMeshComps, numQuadraticElements, numSurfaceMeshes, numTetElements, postscan, printANSYSElements, printANSYSNodes, recursivelyFinalizeAdvance, removeConnector, removeElement, removeMaterialBundle, removeMeshComp, removeNode, resetRestPosition, scan, scanMesh, scanMesh, scanSurfaceMesh, scanSurfaceMesh, setAbortOnInvertedElements, setAutoGenerateSurface, setAuxState, setAxisLength, setBilateralImpulses, setCollidable, setColorMap, setColorMapMode, setComputeNodalStrain, setComputeNodalStress, setElementWidgetSize, setElementWidgetSizeMode, setFrameRelative, setIncompCompliance, setIncompressible, setMaterial, setSoftIncompMethod, setSurfaceMesh, setSurfaceMeshComp, setSurfaceRendering, setWarnOnInvertedElements, skipAuxState, subdivideHex, subdivideHexs, transformGeometry, transformGeometry, transformPose, updateBounds, updateConstraints, updateSlavePos, updateStress, updateStressAndStiffness, useAnsysNumbering, usingAttachedRelativeFrame, writeSurfaceMesh, writeSurfaceMesh, zeroImpulses
addFrictionConstraints, addMarker, addMarker, addMarker, addMarker, addMarker, addMarker, addUnilateralConstraints, attachments, attachPoint, checkVelocityStability, clear, createDefaultMaterial, detachAllNodes, detachPoint, forcesNeedUpdating, getAttachments, getCharacteristicSize, getCollidables, getConstrainers, getDensity, getDensityMode, getEnergy, getForceEffectors, getGravity, getGravityMode, getImplicitIterations, getImplicitPrecision, getIntegrator, getMass, getMassDamping, getMaterial, getMatrixSolver, getNodeMass, getNumInverted, getParticleDamping, getRestVolume, getSlaveObjectComponents, getStiffnessDamping, getStressPlotRange, getStressPlotRangeMode, getStressPlotRanging, getStressPlotRangingMode, getSurfaceRendering, getSurfaceRenderingMode, getToleranceType, getUnilateralImpulses, getUnilateralInfo, getUnilateralSizes, getVolume, hasState, markers, maxFrictionConstraintSets, numElements, numNodes, printNodeMasses, propertyChanged, removeMarker, resetStressPlotRange, setBounds, setDensity, setDensityMode, setGravity, setGravity, setGravityMode, setImplicitIterations, setImplicitPrecision, setIntegrator, setLinearMaterial, setMassDamping, setMatrixSolver, setMaxStepSize, setParticleDamping, setStiffnessDamping, setStressPlotRange, setStressPlotRangeMode, setStressPlotRanging, setStressPlotRangingMode, setSurfaceRenderingMode, setToleranceType, setUnilateralImpulses, updateRestVolume, updateSlaveVel, updateVolume, validateMatrixSolver, zeroExternalForces
addActivePosImpulse, addAttachmentJacobian, addAttachmentSolveBlocks, addGeneralSolveBlocks, addPosJacobian, addVelJacobian, advance, applyAttachmentForces, buildMassMatrix, buildSolveMatrix, closePrintStateFile, collectInitialForces, createState, createVelocityJacobian, getActiveForces, getActiveMass, getActivePosDerivative, getActivePosState, getActivePosStateSize, getActiveStiffness, getActiveVelState, getActiveVelState, getActiveVelStateSize, getAttachmentConstraints, getAttachmentDerivatives, getBilateralConstraints, getBilateralConstraintSizes, getBilateralForces, getBilateralImpulses, getBilateralInfo, getDefaultStabilization, getDynamicDOFs, getDynamicsEnabled, getForces, getFrictionConstraints, getInitialState, getInverseMassMatrix, getMassMatrix, getNumBilateralImpulses, getNumUnilateralImpulses, getParametricForces, getParametricPosState, getParametricPosStateSize, getParametricPosTarget, getParametricVelState, getParametricVelStateSize, getParametricVelTarget, getPenetrationLimit, getPrintState, getProfiling, getSolveMatrixType, getSolver, getStabilization, getState, getStructureVersion, getUnilateralConstraints, getUnilateralConstraintSizes, getUnilateralForces, getUnilateralImpulses, getUnilateralInfo, getUpdateForcesAtStepEnd, getUpdateForcesAtStepEndMode, hasParameterizedType, numActiveComponents, numAttachedComponents, numParametricComponents, openPrintStateFile, preadvance, printActiveStiffness, reduceVelocityJacobian, reopenPrintStateFile, setActiveForces, setActivePosState, setActiveVelState, setBilateralImpulses, setDefaultStabilization, setDynamicsEnabled, setForces, setParametricForces, setParametricPosState, setParametricVelState, setPenetrationLimit, setPrintState, setPrintState, setProfiling, setStabilization, setState, setUnilateralImpulses, setUpdateForcesAtStepEnd, setUpdateForcesAtStepEndMode, topMechSystem, updateAttachmentPos, updateAttachmentVel, updateConstraints, updateForces, updatePosState, updateVelState, writeBilateralConstraintMatrix, writeBilateralConstraintMatrix, writeMassMatrix, writeMassMatrix, writeStiffnessMatrix, writeStiffnessMatrix
createRenderProps, getRenderHints, getRenderProps, isSelectable, numSelectionQueriesNeeded, setRenderProps
actionPerformed, copy, getInitialState, getMaxStepSize, getMenuItems, hierarchyContainsReferences, setInitialState
add, add, addAll, addComponents, addFixed, addNumbered, clone, contains, contains, containsAll, ensureCapacity, findComponent, get, get, getChildren, getNavpanelDisplay, getNumberLimit, getShortName, getTypeParameter, hasChildren, indexOf, invalidateNumbers, isEmpty, iterator, nextComponentNumber, numComponents, remove, remove, removeAll, removeAll, removeComponents, retainAll, set, setNavpanelDisplay, setNumbered, setNumberingStartAtOne, setShortName, size, toArray, toArray, updateNameMap
checkFlag, checkName, checkNameUniqueness, clearFlag, connectToHierarchy, createTempFlag, disconnectFromHierarchy, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, isConnectedToHierarchy, isFixed, isMarked, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setSelected, write
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
connectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, postscan, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected
getProperty
getChildren, hasChildren
isWritable, write
checkVelocityStability, getAttachments, getConstrainers, getForceEffectors, getSlaveObjectComponents
advance, getMaxStepSize, preadvance
createState, getInitialState, getState, setState
addActivePosImpulse, addPosJacobian, addVelJacobian, buildMassMatrix, buildSolveMatrix, getActiveForces, getActivePosDerivative, getActivePosState, getActivePosStateSize, getActiveVelState, getActiveVelStateSize, getBilateralConstraints, getBilateralImpulses, getBilateralInfo, getFrictionConstraints, getInverseMassMatrix, getMassMatrix, getParametricForces, getParametricPosState, getParametricPosStateSize, getParametricPosTarget, getParametricVelState, getParametricVelStateSize, getParametricVelTarget, getSolveMatrixType, getStructureVersion, getUnilateralConstraints, getUnilateralImpulses, getUnilateralInfo, maxFrictionConstraintSets, numActiveComponents, numParametricComponents, setActiveForces, setActivePosState, setActiveVelState, setBilateralImpulses, setParametricForces, setParametricPosState, setParametricVelState, setUnilateralImpulses, updateConstraints, updateForces
getName
public ControlPanel exciterPanel
public ControlPanel bundlesPanel
public java.util.ArrayList<java.lang.String> labels
public HydrostatModel()
public HydrostatModel(java.lang.String name) throws java.io.IOException
java.io.IOException
public HydrostatModel(java.lang.String name, boolean fullMusclesAP, HydrostatModel.Shape shape) throws java.io.IOException
java.io.IOException
public HydrostatModel(java.lang.String name, HydrostatModel.Element elem, HydrostatModel.Shape shape, double l, double r, int nl, int nr, boolean simpleExciters) throws java.io.IOException
java.io.IOException
public HydrostatModel(java.lang.String name, HydrostatModel.Element elem, HydrostatModel.Shape shape, double l, double r, int nl, int nr, boolean simpleExciters, boolean fullMusclesAP) throws java.io.IOException
java.io.IOException
public java.util.ArrayList<ModelComponent> createTargetList(int[] nodeNums)
public java.util.ArrayList<ModelComponent> createTargetList()
public void setupRenderProps()
public void initialize(double t)
ModelBase
HasState.setState(artisynth.core.modelbase.ComponentState)
, in which case t
may have an arbitrary value.initialize
in interface RequiresInitialize
initialize
in interface Model
initialize
in class MechSystemBase
t
- initialization time (seconds)public void clampEnd()
public void createBeam(HydrostatModel.Element e)
public void createTube(HydrostatModel.Element e)
public void createGeometry(HydrostatModel.Element e, HydrostatModel.Shape s)
public void addMuscles(HydrostatModel.Shape s)
public void addTentacleMuscles()
public void addTentacleExciters()
public void addTentacleExcitersX()
public void addBeamMuscles()
public void createMuscles(HydrostatModel.Axis axis, java.lang.String prefix)
public void createMuscles(HydrostatModel.Axis axis, MuscleBundle bundle)
public void addTubeMuscles()
public void createTubeLongMuscles()
public void createTubeMuscles(HydrostatModel.TubeAxis axis, MuscleBundle bundle)
public void createTubeHelixMuscles()
public void addTubeExciters()
public void addSimpleTubeExciters()
public void createBundle(java.lang.String name, Point3d emin, Point3d emax, java.lang.String prefix)
public void addBundles()
public void createExciter(java.lang.String name, Point3d emin, Point3d emax, MuscleBundle b)
public void addExciters()
public void addSimpleExciters()
public void createGroup(java.lang.String name, java.lang.String[] exTargets)
public void createGroup(java.lang.String prefix, java.lang.String name, java.lang.String[] exTargets)
public void createExcitersPanel(java.lang.String[] names)
public void colorExciters(java.lang.String[] names, boolean createPanel)
public void colorExciter(MuscleExciter e, java.awt.Color color)
public void createBundlesPanel(java.lang.String[] names)
public void colorBundles(java.lang.String[] names, boolean createPanel)
public ControlPanel getMusclePanel()
public boolean isUsingExciters()
public double getTargetPointRadius()