Class PbParalCartesianGrid2D

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class PbParalCartesianGrid2D
    extends PbCartesianGrid2D
    implements java.lang.Cloneable
    Defines a parallel cartesian grid surface mesh. Class to define a surface mesh represented by a grid, with cartesian coordinates, of which the lines are parallel to X-axis or Y-axis. This mesh is defined by num_y vertical lines and num_x horizontal lines. x is an array of num_x floats, and y is an array of 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.

    • Constructor Detail

      • PbParalCartesianGrid2D

        public PbParalCartesianGrid2D()
        Calls PbParalCartesianGrid2D(true).
      • PbParalCartesianGrid2D

        public PbParalCartesianGrid2D​(int num_x,
                                      int num_y,
                                      float[] x,
                                      float[] y,
                                      float[] z)
        Calls PbParalCartesianGrid2D(num_x, num_y, x, y, z, true).
      • PbParalCartesianGrid2D

        public PbParalCartesianGrid2D​(int num_x,
                                      int num_y,
                                      float[] x,
                                      float[] y)
        Calls PbParalCartesianGrid2D(num_x, num_y, x, y, true).
      • PbParalCartesianGrid2D

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

        public PbParalCartesianGrid2D​(int num_x,
                                      int num_y,
                                      float[] x,
                                      float[] y,
                                      float[] z,
                                      boolean isDataDuplicate)
        Constructor of a 3D parallel grid mesh. See also PbMesh for more explanations about data duplication.
      • PbParalCartesianGrid2D

        public PbParalCartesianGrid2D​(int num_x,
                                      int num_y,
                                      float[] x,
                                      float[] y,
                                      boolean isDataDuplicate)
        Constructor of a 2D parallel grid mesh. See also PbMesh for more explanations about data duplication.