Skip to content

Commit

Permalink
fix old meshzoo
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrbartman committed Jul 25, 2024
1 parent a203082 commit c676e39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions conmech/mesh/zoo/rectangle.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)
Expand Down
2 changes: 1 addition & 1 deletion examples/example_static.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ def main(config: Config, dimension=2):


if __name__ == "__main__":
main(Config().init(), 3)
main(Config().init(), 2)

0 comments on commit c676e39

Please sign in to comment.