Class PbParalCartesianGrid3D

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class PbParalCartesianGrid3D
    extends PbCartesianGrid3D
    implements java.lang.Cloneable
    Defines a parallel cartesian grid volume mesh. Class to define a volume mesh represented by a grid, with cartesian coordinates, where the lines are parallel to X, Y or Z axis. This mesh is defined by num_x lines orthogonal to X axis, num_y lines orthogonal to Y axis and num_z lines orthogonal to Z axis, and by one or two values at each vertices of the mesh. This mesh is comparable to a set of parallel PbParalCartesianGrid2D. x is an array of num_x floats, y an array of num_y floats, and z an array of num_z 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 * num_z floats.

    • Constructor Detail

      • PbParalCartesianGrid3D

        public PbParalCartesianGrid3D()
        Calls PbParalCartesianGrid3D(true).
      • PbParalCartesianGrid3D

        public PbParalCartesianGrid3D​(int num_x,
                                      int num_y,
                                      int num_z,
                                      float[] xnod,
                                      float[] ynod,
                                      float[] znod)
        Calls PbParalCartesianGrid3D(num_x, num_y, num_z, xnod, ynod, znod, true).
      • PbParalCartesianGrid3D

        public PbParalCartesianGrid3D​(boolean isDataDuplicate)
        Constructor of a default simple mesh. See also PbMesh for more explanations about data duplication.
      • PbParalCartesianGrid3D

        public PbParalCartesianGrid3D​(PbParalCartesianGrid3D name_1161)
        Copy constructor.
      • PbParalCartesianGrid3D

        public PbParalCartesianGrid3D​(int num_x,
                                      int num_y,
                                      int num_z,
                                      float[] xnod,
                                      float[] ynod,
                                      float[] znod,
                                      boolean isDataDuplicate)
        Constructor of a 3D parallel grid mesh. See also PbMesh for more explanations about data duplication.