Skip to content

Commit

Permalink
Fix hello_word(planestrain=True) (#928)
Browse files Browse the repository at this point in the history
  • Loading branch information
adtzlr authored Jan 22, 2025
1 parent 1132065 commit ea697b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ All notable changes to this project will be documented in this file. The format

### Fixed
- Fix `Boundary(..., mode="and")` by ignoring any undefined axis.
- Fix `tools.hello_world(planestrain=True)` with the correct region `RegionQuad` for the plane-strain template.

### Removed
- Remove the unused `shape`-argument in `element.Element(shape)`. Adopt the arbitrary-lagrange element to use its own `dim`-argument. This simplifies the creation of custom finite element formulations.
Expand Down
1 change: 1 addition & 0 deletions src/felupe/tools/_hello_world.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def hello_world(

elif planestrain:
mesh = "Rectangle"
region += "Quad"
field += "PlaneStrain"
dim = 2

Expand Down

0 comments on commit ea697b8

Please sign in to comment.