Class PbRegularMesh1D

All Implemented Interfaces:
Cloneable

public class PbRegularMesh1D extends PbMesh1D implements Cloneable
Defines a regular mono-dimensional mesh. Class to define a regular mono-dimentional mesh. This mesh is said regular because the gap between 2 consecutive nodes is constant.

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 floats.

  • Constructor Details

    • PbRegularMesh1D

      public PbRegularMesh1D(int numX, float xmin, float xmax)
      Constructor with geometry.
    • PbRegularMesh1D

      public PbRegularMesh1D()
      Constructor.
    • PbRegularMesh1D

      public PbRegularMesh1D(PbRegularMesh1D mesh)
      Copy constructor.
  • Method Details

    • clone

      public Object clone()
    • setGeometry

      public void setGeometry(int numX, float xmin, float xmax)
      Defines a new geometry.