public class QuadhexElement extends FemElement3d
ModelComponent.NavpanelVisibility
myProps
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
COPY_REFERENCES
TRANSPARENT, TWO_DIMENSIONAL
Constructor and Description |
---|
QuadhexElement() |
QuadhexElement(FemNode3d[] nodes) |
QuadhexElement(HexElement hex,
FemNode3d[] quadraticNodes)
Create a QuadhexElement based on the NODE POSITIONS of a given
HexElement (i.e.
|
addAuxiliaryMaterial, addNodeForce, addNodeStiffness, clearState, computeCentroid, computeCovariance, computeDirectedRenderSize, computeGravityWeights, computeJacobian, computePosition, computePressures, computeRenderCoordsAndGradient, computeRestVolumes, computeVolumes, computeWarping, connectToHierarchy, copy, createElement, createElement, createFrameAttachment, createIntegrationPoints, createPointAttachment, disconnectFromHierarchy, getAllPropertyInfo, getAuxiliaryMaterials, getCopyReferences, getElementWidgetSize, getElementWidgetSizeMode, getFaces, getFrame, getIncompressConstraints, getIncompressIndex, getIntegrationData, getLagrangePressures, getMarkerCoordinates, getNaturalCoordinates, getNaturalCoordinates, getNaturalCoordinatesGSS, getNaturalCoordinatesOld, getNaturalCoordinatesStd, getNodeCoords, getNodeNeighbors, getNodes, getNumEdges, getNumFaces, getPoint, getRestVolumes, getStiffnessWarper, getVolumes, getWarpingData, hasEdge, hasFace, hasFace, invalidateRestData, isInside, isInvertedAtRest, materialsAreInvertible, numAuxiliaryMaterials, numPoints, removeAuxiliaryMaterial, scaleDistance, setElementWidgetSize, setElementWidgetSizeMode, setFrame, setIncompressIndex, setStiffnessWarper, updateBounds
containsNode, createRenderProps, getDensity, getDensityMode, getEffectiveMaterial, getHardReferences, getIndex, getLocalNodeIndex, getMass, getMaterial, getRestVolume, getSelection, getVolume, hasActiveNodes, hasControllableNodes, integrationPointsInterpolateToNodes, integrationPointsMapToNodes, isDuplicatable, isInverted, isMassExplicit, numberString, numNodes, prerender, propertyChanged, render, scaleMass, setDensity, setDensityMode, setIndex, setInverted, setMass, setMassExplicit, setMaterial, updateRestVolumeAndMass
getRenderHints, getRenderProps, isSelectable, numSelectionQueriesNeeded, setRenderProps, updateRenderProps
checkFlag, checkName, checkNameUniqueness, clearFlag, clone, createTempFlag, getChildren, getGrandParent, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, hasChildren, hasState, isConnectedToHierarchy, 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
getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, postscan, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, updateReferences
getProperty
getChildren, hasChildren
isWritable, write
public QuadhexElement(HexElement hex, FemNode3d[] quadraticNodes)
hex
- A hexahedral elementquadraticNodes
- the 12 edge nodespublic QuadhexElement(FemNode3d[] nodes)
public QuadhexElement()
public IntegrationPoint3d[] getIntegrationPoints()
getIntegrationPoints
in class FemElement3d
public IntegrationPoint3d getWarpingPoint()
getWarpingPoint
in class FemElement3d
public static FemNode3d[] getQuadraticNodes(HexElement hex)
public static FemNode3d[] getQuadraticNodes(FemNode3d n0, FemNode3d n1, FemNode3d n2, FemNode3d n3, FemNode3d n4, FemNode3d n5, FemNode3d n6, FemNode3d n7)
public boolean coordsAreInside(Vector3d coords)
coordsAreInside
in class FemElement3d
public int numIntegrationPoints()
numIntegrationPoints
in class FemElement3d
public double[] getIntegrationCoords()
getIntegrationCoords
in class FemElement3d
public double[] getNodalExtrapolationMatrix()
getNodalExtrapolationMatrix
in class FemElement3d
public double getN(int i, Vector3d coords)
getN
in class FemElement3d
public int numPressureVals()
numPressureVals
in class FemElement3d
public double getH(int i, Vector3d coords)
getH
in class FemElement3d
i
- index of the pressure variable; should be less
than the value returned by FemElement3d.numPressureVals()
coords
- coordinates at which the shape function should
be evaluated.public Matrix getPressureWeightMatrix()
FemElement3d
By default, this method returns a pressure weight matrix for the case where there is only one pressure value. Such matrices always have a single value of 1. Elements with a larger number of pressure values should override this method to return a pressure weight matrix appropriate for that element.
getPressureWeightMatrix
in class FemElement3d
public void getdNds(Vector3d dNds, int i, Vector3d coords)
getdNds
in class FemElement3d
public double[] getNodeCoords()
getNodeCoords
in class FemElement3d
public int[] getEdgeIndices()
getEdgeIndices
in class FemElement3d
public int[] getFaceIndices()
getFaceIndices
in class FemElement3d
public void render(Renderer renderer, RenderProps props, int flags)
render
in class FemElement
public void renderWidget(Renderer renderer, double size, RenderProps props)
renderWidget
in class FemElement3d
public FemNode3d[][] triangulateFace(FaceNodes3d face)
triangulateFace
in class FemElement3d