Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support adding Dirichlet BCs to nodesets #346

Merged
merged 1 commit into from
Apr 6, 2021

Conversation

kimauth
Copy link
Member

@kimauth kimauth commented Apr 1, 2021

Allow to add Dirichlet BCs to nodesets for the MixedDofHandler.

Also allows to add boundary conditions to a FieldHandler even if not all nodes/faces are part of the corresponding cellset. In that case a warning will be given and the node/face will simply be skipped. Considering that most mesh generators give nodesets in the format of "left nodes" and not seperated according to quad/tri/etc. elements, I think this is a lot more convenient.

@lijas : Now I did mess with functions that you are touching in #343, but it is small changes.

This replaces #294.

@lijas
Copy link
Collaborator

lijas commented Apr 5, 2021

I think this looks good, just some weird spaces/tabs in the code that made line be misaligned.

I think it is ok to warn (rather than give an error) if an user adds constraints to a faceset/nodeset that is not included in the given FieldHandler.

@kimauth
Copy link
Member Author

kimauth commented Apr 6, 2021

Weird that line doesn't look misaligned at all in my editor.

@kimauth kimauth merged commit 4e7d312 into Ferrite-FEM:master Apr 6, 2021
@KristofferC
Copy link
Collaborator

🎉

@fredrikekre
Copy link
Member

Weird that line doesn't look misaligned at all in my editor.

You probably have the tab-width set to 4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants