Skip to content

Commit

Permalink
More complete support for periodic boundary conditions
Browse files Browse the repository at this point in the history
This patch adds better support for specifying periodic boundary
conditions. In particular, collect_periodic_faces(!) is added, which,
for given input mirror and image sets computes the matching face. The
result can be passed directly to the PeriodicDirichlet constructor. The
existing limitation about full periodicity (i.e. all directions) is
removed.
  • Loading branch information
fredrikekre committed Sep 12, 2022
1 parent 357e35b commit 71986fe
Show file tree
Hide file tree
Showing 2 changed files with 361 additions and 113 deletions.
2 changes: 2 additions & 0 deletions docs/src/reference/boundary_conditions.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ DocTestSetup = :(using Ferrite)
ConstraintHandler
Dirichlet
PeriodicDirichlet
collect_periodic_faces
collect_periodic_faces!
add!
close!
apply!
Expand Down
Loading

0 comments on commit 71986fe

Please sign in to comment.