public class PbRegularCartesianGrid2D extends PbGrid2D implements java.lang.Cloneable
The geometry of such a mesh is defined by the 2 dimensions of its grid (num_x,num_y), by its bounding box (x_min,y_min,x_max,y_max) and for a 3D mesh by its z altitudes on each nodes. z is an array of num_x * num_y floats.
The values on the mesh nodes are defined by the PbMesh.addValuesSet(set_index,val) method, where val argument is an array of num_x * num_y floats.
PbMesh2D.ExtrapolationMethodsPbMesh.CellBox, PbMesh.ContainingCell, PbMesh.CoordinatesInfo, PbMesh.DataBindingsInventor.ConstructorCommandUSE_ADJACENT_DERIVS, USE_ADJACENT_VALUESVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
PbRegularCartesianGrid2D()
Calls PbRegularCartesianGrid2D(true).
|
PbRegularCartesianGrid2D(boolean isDataDuplicate)
Constructor of a default simple mesh.
|
PbRegularCartesianGrid2D(int num_x,
int num_y,
float x_min,
float y_min,
float x_max,
float y_max)
Calls PbRegularCartesianGrid2D(num_x, num_y, x_min, y_min, x_max, y_max, true).
|
PbRegularCartesianGrid2D(int num_x,
int num_y,
float x_min,
float y_min,
float x_max,
float y_max,
boolean isDataDuplicate)
Constructor of a 2D regular grid mesh.
|
PbRegularCartesianGrid2D(int num_x,
int num_y,
float x_min,
float y_min,
float x_max,
float y_max,
float[] z)
Calls PbRegularCartesianGrid2D(num_x, num_y, x_min, y_min, x_max, y_max, z, true).
|
PbRegularCartesianGrid2D(int num_x,
int num_y,
float x_min,
float y_min,
float x_max,
float y_max,
float[] z,
boolean isDataDuplicate)
Constructor of a 3D regular grid mesh.
|
PbRegularCartesianGrid2D(int num_x,
int num_y,
PbRegularCartesianGrid2D other_mesh)
Constructor of a regular grid mesh, by refining the given other_mesh.
|
PbRegularCartesianGrid2D(PbRegularCartesianGrid2D mesh)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
void |
setGeometry(int num_x,
int num_y,
float x_min,
float y_min,
float x_max,
float y_max)
Defines a new 2D geometry.
|
void |
setGeometry(int num_x,
int num_y,
float x_min,
float y_min,
float x_max,
float y_max,
float[] z)
Defines a new 3D geometry.
|
getCellIndices, getDim, getNodeCoord, getNodeIndices, setGeometry, setGeometryaddVecsSet, addVecsSet, get2DBoundingBox, getFaultMeshaddStringsSet, 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, setCoordinatesenableConnection, isConnectionEnabled, touchdispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic PbRegularCartesianGrid2D(int num_x,
int num_y,
float x_min,
float y_min,
float x_max,
float y_max)
public PbRegularCartesianGrid2D()
public PbRegularCartesianGrid2D(int num_x,
int num_y,
float x_min,
float y_min,
float x_max,
float y_max,
float[] z)
public PbRegularCartesianGrid2D(boolean isDataDuplicate)
PbMesh for more explanations about data duplication.public PbRegularCartesianGrid2D(int num_x,
int num_y,
float x_min,
float y_min,
float x_max,
float y_max,
float[] z,
boolean isDataDuplicate)
PbMesh for more explanations about data duplication.public PbRegularCartesianGrid2D(int num_x,
int num_y,
PbRegularCartesianGrid2D other_mesh)
public PbRegularCartesianGrid2D(PbRegularCartesianGrid2D mesh)
public PbRegularCartesianGrid2D(int num_x,
int num_y,
float x_min,
float y_min,
float x_max,
float y_max,
boolean isDataDuplicate)
PbMesh for more explanations about data duplication.public java.lang.Object clone()
clone in class java.lang.Objectpublic void setGeometry(int num_x,
int num_y,
float x_min,
float y_min,
float x_max,
float y_max)
public void setGeometry(int num_x,
int num_y,
float x_min,
float y_min,
float x_max,
float y_max,
float[] z)
Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com