Class GooseFEM::Mesh::Tri3::Regular#

class Regular : public GooseFEM::Mesh::RegularBase2d<Regular>#

Regular grid of squares, with each square cut into two triangular elements.

Public Functions

inline Regular(size_t nelx, size_t nely, double h = 1.0)#

Constructor.

Parameters:
  • nelx – Number of elements in x-direction.

  • nely – Number of elements in y-direction.

  • h – Edge-size (of the squares, and thus of two of three element-edges).