RectangleMesh

Parameters

  • Required:
    • app (godzilla::App*) - Application we are part of

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

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

  • Optional:
    • name (String) - Name of the object

    • 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::Object

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.