diff --git a/conmech/mesh/zoo/rectangle.py b/conmech/mesh/zoo/rectangle.py index c8e51f9c..e4a62258 100644 --- a/conmech/mesh/zoo/rectangle.py +++ b/conmech/mesh/zoo/rectangle.py @@ -32,8 +32,8 @@ def __init__(self, mesh_descr: RectangleMeshDescription): # pylint: disable=no-member nodes, elements = meshzoo.rectangle_tri( - (0.0, scale_x), - (0.0, scale_y), + (0.0, 0.0), + (scale_x, scale_y), n=(int(mesh_density[0]) + 1, int(mesh_density[1]) + 1), variant="zigzag", ) diff --git a/examples/example_static.py b/examples/example_static.py index 7bb84571..a861cb7d 100644 --- a/examples/example_static.py +++ b/examples/example_static.py @@ -77,4 +77,4 @@ def main(config: Config, dimension=2): if __name__ == "__main__": - main(Config().init(), 3) + main(Config().init(), 2)