RectangleMesh

Parameters

  • Required:
    • nx (Integer) - Number of mesh points in the x direction

    • ny (Integer) - Number of mesh points in the y direction

  • Optional:
    • simplex (Boolean) - Generate simplex elements

    • xmax (Real) - Maximum in the x direction

    • xmin (Real) - Minimum in the x direction

    • ymax (Real) - Maximum in the y direction

    • ymin (Real) - Minimum in the y direction

class RectangleMesh : public godzilla::MeshObject

2D rectangular mesh

Public Functions

Int get_nx() const

Get the number of mesh points in x direction.

Int get_ny() const

Get the number of mesh points in y direction.