Class PbCartesianGrid3D

  • All Implemented Interfaces:
    java.lang.Cloneable
    Direct Known Subclasses:
    PbParalCartesianGrid3D

    public class PbCartesianGrid3D
    extends PbGrid3D
    implements java.lang.Cloneable
    Defines a cartesian grid volume mesh. Class to define a mesh represented by a 3D grid with cartesian coordinates. This mesh is defined by a matrix num_x * num_y * num_z points forming (num_x - 1) * (num_y - 1) * (num_z - 1) hexahedrons. Each point with index (i, j,k) in the mesh (except for points along the mesh border) is connected to six points with indices (i+1,j,k), (i,j+1,k), (i-1,j,k), (i,j-1,k), (i,j,k+1), (i,j,k-1). The values on the mesh nodes are defined by the addValuesSet() method, where val argument is an array of num_x * num_y * num_z floats.
    • Constructor Detail

      • PbCartesianGrid3D

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

        public PbCartesianGrid3D()
        Calls PbCartesianGrid3D(true).
      • PbCartesianGrid3D

        public PbCartesianGrid3D​(PbCartesianGrid3D name_108)
        Copy constructor.
      • PbCartesianGrid3D

        public PbCartesianGrid3D​(boolean is_data_duplicated)
        Constructor. See also PbMesh for more explanations about data duplication.
      • PbCartesianGrid3D

        public PbCartesianGrid3D​(int num_x,
                                 int num_y,
                                 int num_z,
                                 float[] xnod,
                                 float[] ynod,
                                 float[] znod,
                                 boolean is_data_duplicated)
        Constructor of a volume mesh. See also PbMesh for more explanations about data duplication.
    • Method Detail

      • clone

        public java.lang.Object clone()