public class QuadpyramidElement extends FemElement3d
ModelComponent.NavpanelVisibility
myProps
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
COPY_REFERENCES
TRANSLUCENT, TWO_DIMENSIONAL
Constructor and Description |
---|
QuadpyramidElement() |
QuadpyramidElement(FemNode3d[] nodes) |
QuadpyramidElement(PyramidElement pyramid,
FemNode3d[] quadraticNodes)
Create a QuadpyramidElement based on the NODE POSITIONS of a given
PyramidElement (i.e.
|
Modifier and Type | Method and Description |
---|---|
boolean |
coordsAreInside(Vector3d coords) |
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() |
static FemNode3d[] |
getQuadraticNodes(FemNode3d n0,
FemNode3d n1,
FemNode3d n2,
FemNode3d n3,
FemNode3d n4) |
static FemNode3d[] |
getQuadraticNodes(PyramidElement pyramid) |
IntegrationPoint3d |
getWarpingPoint() |
boolean |
isInside(Point3d pnt)
Tests whether or not a point is inside an element.
|
int |
numIntegrationPoints() |
void |
renderEdges(GLRenderer renderer,
RenderProps props)
Need to override renderEdges because the coordinate interpolation along
the edges leading to the apex must be handled in a special way (because
the shape functions are determined from condensation and the natural
coordinates correspond to a cube).
|
void |
renderWidget(GLRenderer renderer,
double size,
RenderProps props) |
FemNode3d[][] |
triangulateFace(FaceNodes3d face) |
addAuxiliaryMaterial, addNodeForce, addNodeForce0, addNodeForce0, addNodeStiffness, addNodeStiffness, clearState, computeCentroid, computeCovariance, computeDirectedRenderSize, computeGravityWeights, computePressures, computeRenderCoordsAndGradient, computeRestVolumes, computeVolumes, computeWarping, computeWarping, connectToHierarchy, copy, createElement, createElement, createIntegrationPoints, disconnectFromHierarchy, getAllPropertyInfo, getAuxiliaryMaterials, getCopyReferences, getElementWidgetSize, getElementWidgetSizeMode, getFrame, getH, getIncompressConstraints, getIncompressIndex, getIntegrationData, getMarkerCoordinates, getNaturalCoordinates, getNaturalCoordinatesRobust, getNodeCoords, getNodes, getNumEdges, getNumFaces, getPoint, getPressureWeightMatrix, getTriFaces, getWarpingData, hasEdge, hasFace, hasFace, invalidateRestData, isInvertedAtRest, materialsAreInvertible, numAuxiliaryMaterials, numPoints, numPressureVals, removeAuxiliaryMaterial, render, render, renderWidget, renderWidget, renderWidgetEdges, renderWidgetEdges, scaleDistance, setElementWidgetSize, setElementWidgetSizeMode, setFrame, setIncompressIndex, updateBounds, updateWarpingStiffness
containsNode, createRenderProps, getDensity, getDensityMode, getEffectiveMaterial, getHardReferences, getIndex, getLocalNodeIndex, getMass, getMaterial, getRestVolume, getSelection, getVolume, hasActiveNodes, hasControllableNodes, integrationPointsMapToNodes, isDuplicatable, isInverted, numberString, numNodes, prerender, propertyChanged, scaleMass, setDensity, setDensityMode, setIndex, setInverted, setMass, setMaterial, updateNodeMasses
getRenderHints, getRenderProps, isSelectable, numSelectionQueriesNeeded, setRenderProps, updateRenderProps
checkFlag, checkName, checkNameUniqueness, clearFlag, clone, createTempFlag, getChildren, getGrandParent, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, hasChildren, hasState, 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
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 QuadpyramidElement()
public QuadpyramidElement(PyramidElement pyramid, FemNode3d[] quadraticNodes)
pyramid
- A pyramid elementquadraticNodes
- the 8 edge nodespublic QuadpyramidElement(FemNode3d[] nodes)
public 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 FemNode3d[] getQuadraticNodes(PyramidElement pyramid)
public static FemNode3d[] getQuadraticNodes(FemNode3d n0, FemNode3d n1, FemNode3d n2, FemNode3d n3, FemNode3d n4)
public int[] getEdgeIndices()
getEdgeIndices
in class FemElement3d
public int[] getFaceIndices()
getFaceIndices
in class FemElement3d
public void renderWidget(GLRenderer renderer, double size, RenderProps props)
renderWidget
in class FemElement3d
public FemNode3d[][] triangulateFace(FaceNodes3d face)
triangulateFace
in class FemElement3d
public void renderEdges(GLRenderer renderer, RenderProps props)
renderEdges
in class FemElement3d
public boolean isInside(Point3d pnt)
FemElement3d
isInside
in class FemElement3d
pnt
- point to check if is inside