public class PbHexahedronMesh3D extends PbIndexedMesh3D implements java.lang.Cloneable
The nodes coordinates are defined by 3 arrays x_nod, y_nod, z_nod of num_nodes floats. The hexahedrons are defined by the array hexahedron_index of num_hexahedrons*8 integers. hexahedron_index[(n*8)+p] is the p-th node index of the n-th hexahedron of the mesh (0 <= p <= 7). Each hexahedron must be numbered by repecting the following rule : the 4 first indices define a facet of the hexahedron and orient it towards the interior of the hexahedron.
Each facet of a hexahedron may have 2 references in the mesh, that is, one facet is common to 2 hexahedrons. The facets which are referred to once in the mesh define the mesh skin.
The values on the mesh nodes are defined by the PbMesh.addValuesSet(set_index,val) method, where val argument is an array of num_nodes floats.
PbIndexedMesh3D.NodesInfo
PbMesh.CellBox, PbMesh.ContainingCell, PbMesh.CoordinatesInfo, PbMesh.DataBindings
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
PbHexahedronMesh3D()
Calls PbHexahedronMesh3D(true).
|
PbHexahedronMesh3D(boolean isDataDuplicate)
Constructor of a default simple mesh.
|
PbHexahedronMesh3D(int num_nodes,
float[] x_nod,
float[] y_nod,
float[] z_nod,
int num_hexahedrons,
int[] hexahedron_index)
Calls PbHexahedronMesh3D(num_nodes, x_nod, y_nod, z_nod, num_hexahedrons, hexahedron_index, true).
|
PbHexahedronMesh3D(int num_nodes,
float[] x_nod,
float[] y_nod,
float[] z_nod,
int num_hexahedrons,
int[] hexahedron_index,
boolean is_data_duplicate)
Constructor of a volume mesh.
|
PbHexahedronMesh3D(PbHexahedronMesh3D mesh)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
void |
setGeometry(int num_nodes,
float[] x_nod,
float[] y_nod,
float[] z_nod,
int num_hexahedrons,
int[] hexahedron_index)
Sets a new geometry.
|
getNodes, setGeometry
addStringsSet, addStringsSet, addValuesSet, addValuesSet, addValuesSet, addValuesSet, addVecsSet, addVecsSet, findContainingCell, findContainingCell, getArea, getBiggestCellBox, getBoundingBox, getCell, getCoordinates, getDirectValuesSet, getDirectVecsSet, getMaxValuesSet, getMaxVecsSet, getMinValuesSet, getMinVecsSet, getNodeCoord, getNumCells, getNumNodes, getNumStringsSet, getNumValuesSet, getNumVecsSet, getSmallestCellBox, getStringsSetName, getValuesBinding, getValuesSet, getValuesSetName, getVecsSet, getVecsSetName, getVolume, isDataDuplicated, removeAllStringsSet, removeAllValuesSet, removeAllVecsSet, removeStringsSet, removeValuesSet, removeVecsSet, setCoordinates
enableConnection, isConnectionEnabled, touch
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public PbHexahedronMesh3D(int num_nodes, float[] x_nod, float[] y_nod, float[] z_nod, int num_hexahedrons, int[] hexahedron_index)
public PbHexahedronMesh3D()
public PbHexahedronMesh3D(boolean isDataDuplicate)
PbMesh
for more explanations about data duplication.public PbHexahedronMesh3D(int num_nodes, float[] x_nod, float[] y_nod, float[] z_nod, int num_hexahedrons, int[] hexahedron_index, boolean is_data_duplicate)
PbMesh
for more explanations about data duplication.public PbHexahedronMesh3D(PbHexahedronMesh3D mesh)
public java.lang.Object clone()
clone
in class PbIndexedMesh3D
public void setGeometry(int num_nodes, float[] x_nod, float[] y_nod, float[] z_nod, int num_hexahedrons, int[] hexahedron_index)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com