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.StressStrainMeasure, FemModel.SurfaceRenderMechSystemBase.ConstraintForceStateSaverExcitationComponent.CombinationRuleModelComponent.FilePathSaveType, ModelComponent.NavpanelVisibilityCollidable.Collidability, Collidable.GroupMechSystem.ConstraintInfoCompositeComponent.NavpanelDisplay| Modifier and Type | Field and Description |
|---|---|
ControlPanel |
bundlesPanel |
ControlPanel |
exciterPanel |
java.util.ArrayList<java.lang.String> |
labels |
myPropsabortOnInvertedElems, checkTangentStability, debugx, DEFAULT_ABORT_ON_INVERTED_ELEMENTS, DEFAULT_GROUNDED, DEFAULT_HARD_INCOMP, DEFAULT_SOFT_INCOMP, DEFAULT_SURFACEMESH_NAME, defaultAutoGenerateSurface, detJStepReductionLimit, frameMassFraction, noIncompressStiffnessDamping, useFrameRelativeCouplingMasses, useNodalMassWeightsDEFAULT_STABILIZATION, DEFAULT_USE_IMPLICIT_FRICTION, myParametricsInSystemMatrix, mySaveForcesAsState, useAllDynamicCompsDEFAULT_MAX_STEP_SIZEDEFAULT_NAVPANEL_DISPLAYenforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNamesTG_ARTICULATED, TG_DRAGGER, TG_PRESERVE_ORIENTATION, TG_SIMULATINGAll, AllBodies, Deformable, Rigid, SelfCOPY_REFERENCES, REST_POSITIONSTATE_IS_VOLATILECOMPUTE_CONTACTS, UPDATE_CONTACTSTRANSPARENT, 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, addFiberMeshBundle, addMuscleBundle, addMuscleExciter, addPosJacobian, addSolveBlocks, addTransformableDependencies, addVelJacobian, applyForces, clearMuscleBundles, clearMuscleExciters, createDefaultMuscleMaterial, createMuscleMaterial, getActivations, getActivations, getAllPropertyInfo, getAuxStateComponents, getCombinationRule, getDirectionRenderLen, getDirectionRenderLenMode, getDirectionRenderType, getDirectionRenderTypeMode, getExcitation, getExcitationColor, getExcitationColorMode, getExcitationGain, getExcitationSources, getFiberRenderProps, getMaxColoredExcitation, getMaxColoredExcitationMode, getMuscleBundles, getMuscleExciters, getMuscleMaterial, getNetExcitation, getSoftReferences, getState, notifyActivationsSet, numActivations, prerender, propertyChanged, recursivelyInitialize, removeExcitationSource, removeMuscleBundle, removeMuscleExciter, render, scaleDistance, scaleMass, setActivations, setActivations, setBundlesActive, setCombinationRule, setDefaultValues, setDirectionRenderLen, setDirectionRenderLenMode, setDirectionRenderType, setDirectionRenderTypeMode, setExcitation, setExcitationColor, setExcitationColorMode, setExcitationGain, setFiberRenderProps, setMaxColoredExcitation, setMaxColoredExcitationMode, setMuscleMaterial, setState, updateReferencesaddAuxMaterialBundle, addBilateralConstraints, addConnector, addCutPlane, addElement, addElements, addField, addGeneralMassBlocks, addMarker, addMarker, addMarker, addMaterialBundle, addMesh, addMesh, addMeshComp, addNode, addNodes, addNumberedElement, addNumberedMarker, addNumberedMarker, addNumberedNode, addNumberedShellElement, addShellElement, addShellElements, attachFrame, checkElementCondition, clearAuxMaterialBundles, clearCutPlanes, clearElementConditionInfo, clearElements, clearFields, clearMaterialBundles, clearMeshComps, clearShellElements, collectStrainEnergy, computeStressAndStiffness, containsConnector, copy, createDefaultColorMap, createFrameAttachment, createFrameAttachment, createPointAttachment, createPointAttachment, createSurfaceMesh, dispose, findContainingElement, findNearestElement, findNearestElement, findNearestNode, findNearestNodes, findNearestShellElement, findNearestSurfaceElement, findNearestVolumetricElement, getAllElements, getAttachments, getAugmentingMaterials, getAuxMaterialBundles, getAxisLength, getBilateralForces, getBilateralInfo, getBilateralSizes, getBVTree, getByNumber, getCollidable, getCollidableAncestor, getCollidables, getColorMap, getColorMapMode, getConnectors, getConstrainedComponents, getCopyReferences, getCutPlane, getCutPlanes, getDirectorRenderLen, getDynamicComponents, getDynamicComponents, getElement, getElementByNumber, getElementMaterial, getElementNeighbors, getElementRestVolumes, getElements, getElementWidgetSize, getElementWidgetSizeMode, getField, getFields, getFrame, getFrameConstraint, getHardIncompMethod, getIncompCompliance, getIncompForces, getIncompressible, getIncompressibleRange, getJacobianType, getMassMatrixValues, getMaterialBundles, getMeshComp, getMeshComp, getMeshComps, getNodalPlotRange, getNodalPlotRangeX, getNode, getNodeByNumber, getNodeNeighbors, getNodes, getOneBasedNodeElementNumbering, getSelection, getShellElement, getShellElementByNumber, getShellElements, getShellSurfaceElement, getSoftIncompMethod, getSoftIncompMethodRange, getSurfaceElement, getSurfaceMesh, getSurfaceMeshComp, getSurfaceMeshes, getSurfaceNode, getSurfaceVertex, getTetAspectRatios, getUseConsistentMass, handleComponentChanged, hasHexMesh, hasTetMesh, invalidateElementRotationData, invalidateRestData, invalidateStressAndStiffness, invalidateSurfaceMesh, isAbortOnInvertedElements, isAutoGeneratingSurface, isCompound, isDeformable, isDuplicatable, isFrameRelative, isFreeBody, isGrounded, isSurfaceEdge, isSurfaceMeshValid, isSurfaceNode, isVolumeValid, isWarnOnInvertedElements, markInvertedRestElements, mulInverseMass, numAllElements, numCutPlanes, numElements, numFields, numHexElements, numMeshComps, numQuadraticElements, numShellElements, numSurfaceMeshes, numTetElements, postscan, printANSYSElements, printANSYSNodes, recursivelyFinalizeAdvance, removeAuxMaterialBundle, removeConnector, removeCutPlane, removeElement, removeField, removeMaterialBundle, removeMeshComp, removeNode, removeShellElement, resetRestPosition, scan, scanMesh, scanMesh, scanSurfaceMesh, scanSurfaceMesh, setAbortOnInvertedElements, setAutoGenerateSurface, setAxisLength, setBilateralForces, setCollidable, setColorMap, setColorMapMode, setComputeStrainEnergy, setDirectorRenderLen, setElementWidgetSize, setElementWidgetSizeMode, setFrameRelative, setGrounded, setIncompCompliance, setIncompForces, setIncompressible, setMaterial, setOneBasedNodeElementNumbering, setSoftIncompMethod, setSurfaceMesh, setSurfaceMeshComp, setUseConsistentMass, setWarnOnInvertedElements, subdivideHex, subdivideHexs, transformGeometry, transformGeometry, transformPose, updateBounds, updateConstraints, updateSlavePos, updateStress, updateStressAndStiffness, updateStressStrainRenderFlags, usingAttachedRelativeFrame, writeSurfaceMesh, writeSurfaceMesh, zeroForcesaddFrictionConstraints, addMarker, addMarker, addMarker, addMarker, addMarker, addMarker, addUnilateralConstraints, attachments, attachPoint, checkVelocityStability, clear, clearComputeNodalStressStrain, componentChanged, createDefaultMaterial, detachAllNodes, detachPoint, forcesNeedUpdating, getCharacteristicSize, getCollidables, getComputeNodalEnergyDensity, getComputeNodalStrain, getComputeNodalStress, getComputeStrainEnergy, getConstrainers, getDensity, getDensityMode, getEnergy, getForceEffectors, getFrictionForces, getFrictionState, getGravity, getGravityMode, getImplicitIterations, getImplicitPrecision, getKineticEnergy, getMass, getMassDamping, getMaterial, getNodeMass, getNumInverted, getParticleDamping, getRestVolume, getSlaveObjectComponents, getStiffnessDamping, getStrainEnergy, getStressPlotRange, getStressPlotRangeMode, getStressPlotRanging, getStressPlotRangingMode, getSurfaceRendering, getSurfaceRenderingMode, getToleranceType, getUnilateralForces, getUnilateralInfo, getUnilateralSizes, getUnilateralState, getVolume, hasState, markers, maxFrictionConstraintSets, needsNodalStress, numNodes, printNodeMasses, removeMarker, resetAutoStressPlotRange, setBounds, setComputeNodalEnergyDensity, setComputeNodalStrain, setComputeNodalStress, setComputeNodalStressStrain, setDensity, setDensityMode, setFrictionForces, setFrictionState, setGravity, setGravity, setGravityMode, setImplicitIterations, setImplicitPrecision, setLinearMaterial, setMassDamping, setMaxStepSize, setParticleDamping, setStiffnessDamping, setStressPlotRange, setStressPlotRangeMode, setStressPlotRanging, setStressPlotRangingMode, setSurfaceRendering, setSurfaceRenderingMode, setToleranceType, setUnilateralForces, setUnilateralState, updateRestVolume, updateSlaveVel, updateVolume, zeroExternalForcesaddActivePosImpulse, addAttachmentJacobian, addAttachmentSolveBlocks, addGeneralSolveBlocks, addPosJacobian, addVelJacobian, advance, advanceAuxState, applyAttachmentForces, buildMassMatrix, buildSolveMatrix, closePrintStateFile, collectInitialForces, createState, createVelocityJacobian, getActiveDampingMatrix, getActiveDynamicComponents, getActiveForces, getActiveMass, getActiveMassMatrix, getActivePosDerivative, getActivePosState, getActivePosStateSize, getActiveStiffnessMatrix, getActiveVelState, getActiveVelState, getActiveVelStateSize, getAttachmentConstraints, getAttachmentDerivatives, getAuxAdvanceState, getAuxVarDerivative, getAuxVarState, getAuxVarStateSize, getBilateralConstraints, getBilateralConstraintSizes, getBilateralForces, getBilateralInfo, getDefaultMatrixSolver, getDefaultStabilization, getDefaultUseImplicitFriction, getDynamicComponents, getDynamicDOFs, getDynamicsEnabled, getForceEffectors, getForces, getFrictionConstraints, getFrictionForces, getFrictionState, getInitialState, getIntegrator, getInverseMassMatrix, getMassMatrix, getMatrixSolver, getMatrixSolverRange, getNumBilateralForces, getNumUnilateralForces, getParametricForces, getParametricPosState, getParametricPosStateSize, getParametricPosTarget, getParametricVelState, getParametricVelStateSize, getParametricVelTarget, getPenetrationLimit, getPrintState, getProfiling, getSolveMatrixType, getSolver, getStabilization, getState, getStructureVersion, getUnilateralConstraints, getUnilateralConstraintSizes, getUnilateralForces, getUnilateralInfo, getUnilateralState, getUpdateForcesAtStepEnd, getUpdateForcesAtStepEndMode, getUseImplicitFriction, isBilateralStructureConstant, numActiveComponents, numAttachedComponents, numParametricComponents, openPrintStateFile, placeDynamicComponent, preadvance, printActiveMass, printActiveMass, printActiveStiffness, printActiveStiffness, recursivelyPrepareAdvance, reduceVelocityJacobian, reopenPrintStateFile, setActiveForces, setActivePosState, setActiveVelState, setAuxAdvanceState, setAuxVarState, setBilateralForces, setDefaultMatrixSolver, setDefaultStabilization, setDefaultUseImplicitFriction, setDynamicsEnabled, setForces, setFrictionForces, setFrictionState, setIntegrator, setMatrixSolver, setParametricForces, setParametricPosState, setParametricVelState, setPenetrationLimit, setPrintState, setPrintState, setProfiling, setStabilization, setState, setUnilateralForces, setUnilateralState, setUpdateForcesAtStepEnd, setUpdateForcesAtStepEndMode, setUseImplicitFriction, topMechSystem, updateAttachmentPos, updateAttachmentVel, updateConstraints, updateDynamicComponentLists, updateForceComponentList, updateForces, updatePosState, updateVelState, writeBilateralConstraintMatrix, writeBilateralConstraintMatrix, writeMassMatrix, writeMassMatrix, writePrintStateHeader, writeStiffnessMatrix, writeStiffnessMatrixcreateRenderProps, getRenderHints, getRenderProps, isSelectable, numSelectionQueriesNeeded, setRenderPropsactionPerformed, copy, getDefaultMaxStepSize, getMaxStepSize, getMenuItems, hasParameterizedType, hierarchyContainsReferences, setDefaultMaxStepSizeadd, add, addAll, addComponents, addFixed, addNumbered, clone, contains, contains, containsAll, ensureCapacity, findComponent, get, get, getChildren, getMinNumber, getNavpanelDisplay, getNumberLimit, getOneBasedNumbering, getParameterType, getShortName, hasChildren, incrementNumbering, indexOf, invalidateNumbers, isEditable, isEmpty, iterator, nextComponentNumber, numComponents, remove, remove, removeAll, removeAll, removeComponents, resetNumbersToIndices, retainAll, set, setEditable, setNavpanelDisplay, setNumbered, setOneBasedNumbering, setShortName, size, toArray, toArray, updateNameMapcheckFlag, checkName, checkNameUniqueness, clearFlag, connectToHierarchy, createTempFlag, disconnectFromHierarchy, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, isFixed, isMarked, isScanning, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setScanning, setSelected, setWritable, writeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritablegetPropertygetChildren, hasChildrenpostscanisWritable, writetransformPriorityadvanceState, getAuxVarDerivative, getAuxVarState, getStateVersion, hasState, numAuxVars, requiresAdvance, setAuxVarStategetMaxStepSizegetNameequals, hashCode, parallelStream, removeIf, spliterator, streamrecursivelyFindpublic 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.IOExceptionpublic HydrostatModel(java.lang.String name,
boolean fullMusclesAP,
HydrostatModel.Shape shape)
throws java.io.IOException
java.io.IOExceptionpublic 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.IOExceptionpublic 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.IOExceptionpublic java.util.ArrayList<ModelComponent> createTargetList(int[] nodeNums)
public java.util.ArrayList<ModelComponent> createTargetList()
public void setupRenderProps()
public void initialize(double t)
ModelBaseHasState.setState(artisynth.core.modelbase.ComponentState), in which case t may have an arbitrary value.initialize in interface Modelinitialize in class MechSystemBaset - 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()