public class PyramidElement extends FemElement3d
ModelComponent.NavpanelVisibility
myProps
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
COPY_REFERENCES
TRANSPARENT, TWO_DIMENSIONAL
Constructor and Description |
---|
PyramidElement() |
PyramidElement(FemNode3d[] nodes) |
PyramidElement(FemNode3d n1,
FemNode3d n2,
FemNode3d n3,
FemNode3d n4,
FemNode3d n5)
Creates a PyramidElement from five nodes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
coordsAreInside(Vector3d coords) |
static PyramidElement[] |
createCubeTesselation(FemNode3d p0,
FemNode3d p1,
FemNode3d p2,
FemNode3d p3,
FemNode3d p4,
FemNode3d p5,
FemNode3d p6,
FemNode3d p7,
int apexNode)
Create a tesselation for a cubic configuration of nodes, using a 3
pyramids.
|
void |
getdNds(Vector3d dNds,
int i,
Vector3d coords) |
int[] |
getEdgeIndices() |
int[] |
getFaceIndices() |
double[] |
getIntegrationCoords() |
IntegrationPoint3d[] |
getIntegrationPoints() |
double |
getN(int i,
Vector3d coords) |
double[] |
getNodalExtrapolationMatrix() |
double[] |
getNodeCoords() |
IntegrationPoint3d |
getWarpingPoint() |
boolean |
integrationPointsMapToNodes()
Queries whether there is a one-to-one mapping between integration points
and nodes.
|
boolean |
isInside(Point3d pnt)
Tests whether or not a point is inside an element.
|
int |
numIntegrationPoints() |
void |
render(Renderer renderer,
RenderProps props,
int flags) |
void |
renderWidget(Renderer renderer,
double size,
RenderProps props) |
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, getH, getIncompressConstraints, getIncompressIndex, getIntegrationData, getLagrangePressures, getMarkerCoordinates, getNaturalCoordinates, getNaturalCoordinates, getNaturalCoordinatesGSS, getNaturalCoordinatesOld, getNaturalCoordinatesStd, getNodeCoords, getNodeNeighbors, getNodes, getNumEdges, getNumFaces, getPoint, getPressureWeightMatrix, getRestVolumes, getStiffnessWarper, getVolumes, getWarpingData, hasEdge, hasFace, hasFace, invalidateRestData, isInvertedAtRest, materialsAreInvertible, numAuxiliaryMaterials, numPoints, numPressureVals, removeAuxiliaryMaterial, scaleDistance, setElementWidgetSize, setElementWidgetSizeMode, setFrame, setIncompressIndex, setStiffnessWarper, triangulateFace, updateBounds
containsNode, createRenderProps, getDensity, getDensityMode, getEffectiveMaterial, getHardReferences, getIndex, getLocalNodeIndex, getMass, getMaterial, getRestVolume, getSelection, getVolume, hasActiveNodes, hasControllableNodes, integrationPointsInterpolateToNodes, 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 PyramidElement()
public PyramidElement(FemNode3d n1, FemNode3d n2, FemNode3d n3, FemNode3d n4, FemNode3d n5)
public PyramidElement(FemNode3d[] nodes)
public boolean integrationPointsMapToNodes()
integrationPointsMapToNodes
in class FemElement
true
if there is a one-to-one mapping between
integration points and nodespublic IntegrationPoint3d[] getIntegrationPoints()
getIntegrationPoints
in class FemElement3d
public IntegrationPoint3d getWarpingPoint()
getWarpingPoint
in class FemElement3d
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[] getNodeCoords()
getNodeCoords
in class FemElement3d
public double[] getNodalExtrapolationMatrix()
getNodalExtrapolationMatrix
in class FemElement3d
public double getN(int i, Vector3d coords)
getN
in class FemElement3d
public void getdNds(Vector3d dNds, int i, Vector3d coords)
getdNds
in class FemElement3d
public static PyramidElement[] createCubeTesselation(FemNode3d p0, FemNode3d p1, FemNode3d p2, FemNode3d p3, FemNode3d p4, FemNode3d p5, FemNode3d p6, FemNode3d p7, int apexNode)
apexNode
defines the node where all three pyramid
top nodes meet. This corner will be opposite the one where all
three quad faces meet.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 int[] getEdgeIndices()
getEdgeIndices
in class FemElement3d
public int[] getFaceIndices()
getFaceIndices
in class FemElement3d
public boolean isInside(Point3d pnt)
FemElement3d
isInside
in class FemElement3d
pnt
- point to check if is inside