Class PbRegularMesh1D

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class PbRegularMesh1D
    extends PbMesh1D
    implements java.lang.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 Detail

      • PbRegularMesh1D

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

        public PbRegularMesh1D()
        Constructor.
      • PbRegularMesh1D

        public PbRegularMesh1D​(PbRegularMesh1D mesh)
        Copy constructor.
    • Method Detail

      • clone

        public java.lang.Object clone()
      • setGeometry

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