public class SpongeModel extends FemMuscleModel
FemModel.ElementFilter, FemModel.IncompMethod, FemModel.Ranging, FemModel.StressStrainMeasure, FemModel.SurfaceRender
MechSystemBase.ConstraintForceStateSaver
ExcitationComponent.CombinationRule
ModelComponent.NavpanelVisibility
Collidable.Collidability, Collidable.Group
MechSystem.ConstraintInfo
CompositeComponent.NavpanelDisplay
Modifier and Type | Field and Description |
---|---|
double |
maxMuscleForce |
int |
numMuscles |
myProps
abortOnInvertedElems, checkTangentStability, debugx, DEFAULT_ABORT_ON_INVERTED_ELEMENTS, DEFAULT_HARD_INCOMP, DEFAULT_SOFT_INCOMP, DEFAULT_SURFACEMESH_NAME, defaultAutoGenerateSurface, detJStepReductionLimit, frameMassFraction, noIncompressStiffnessDamping, useFrameRelativeCouplingMasses, useNodalMassWeights
DEFAULT_STABILIZATION, DEFAULT_USE_IMPLICIT_FRICTION, myParametricsInSystemMatrix, mySaveForcesAsState, useAllDynamicComps
DEFAULT_MAX_STEP_SIZE
DEFAULT_NAVPANEL_DISPLAY
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
TG_ARTICULATED, TG_DRAGGER, TG_PRESERVE_ORIENTATION, TG_SIMULATING
All, AllBodies, Deformable, Rigid, Self
COPY_REFERENCES, REST_POSITION
STATE_IS_VOLATILE
COMPUTE_CONTACTS, UPDATE_CONTACTS
TRANSPARENT, TWO_DIMENSIONAL
Constructor and Description |
---|
SpongeModel() |
SpongeModel(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
createGeometry(java.lang.String name,
double widthX,
double widthY,
double widthZ,
int numX,
int numY,
int numZ,
double nodeMass) |
java.util.ArrayList<ModelComponent> |
createTargetList() |
RenderProps |
getNewMuscleProps() |
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, updateReferences
addAuxMaterialBundle, 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, 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, setIncompCompliance, setIncompForces, setIncompressible, setMaterial, setOneBasedNodeElementNumbering, setSoftIncompMethod, setSurfaceMesh, setSurfaceMeshComp, setUseConsistentMass, setWarnOnInvertedElements, subdivideHex, subdivideHexs, transformGeometry, transformGeometry, transformPose, updateBounds, updateConstraints, updateSlavePos, updateStress, updateStressAndStiffness, updateStressStrainRenderFlags, usingAttachedRelativeFrame, writeSurfaceMesh, writeSurfaceMesh, zeroForces
addFrictionConstraints, 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, zeroExternalForces
addActivePosImpulse, 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, 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, initialize, 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, updateForces, updatePosState, updateVelState, writeBilateralConstraintMatrix, writeBilateralConstraintMatrix, writeMassMatrix, writeMassMatrix, writePrintStateHeader, writeStiffnessMatrix, writeStiffnessMatrix
createRenderProps, getRenderHints, getRenderProps, isSelectable, numSelectionQueriesNeeded, setRenderProps
actionPerformed, copy, getDefaultMaxStepSize, getMaxStepSize, getMenuItems, hasParameterizedType, hierarchyContainsReferences, setDefaultMaxStepSize
add, add, addAll, addComponents, addFixed, addNumbered, clone, contains, contains, containsAll, ensureCapacity, findComponent, get, get, getChildren, getNavpanelDisplay, getNumberLimit, getOneBasedNumbering, getParameterType, getShortName, hasChildren, indexOf, invalidateNumbers, isEditable, isEmpty, iterator, nextComponentNumber, numComponents, remove, remove, removeAll, removeAll, removeComponents, resetNumbersToIndices, retainAll, set, setEditable, setNavpanelDisplay, setNumbered, setOneBasedNumbering, setShortName, size, toArray, toArray, updateNameMap
checkFlag, 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, write
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
connectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable
getProperty
getChildren, hasChildren
postscan
isWritable, write
transformPriority
advanceState, getAuxVarDerivative, getAuxVarState, getStateVersion, hasState, numAuxVars, requiresAdvance, setAuxVarState
getMaxStepSize
getName
public SpongeModel() throws java.io.IOException
java.io.IOException
public SpongeModel(java.lang.String name) throws java.io.IOException
java.io.IOException
public java.util.ArrayList<ModelComponent> createTargetList()
public RenderProps getNewMuscleProps()
public void createGeometry(java.lang.String name, double widthX, double widthY, double widthZ, int numX, int numY, int numZ, double nodeMass)