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

move traction boundary conditions to new interface #886

Merged
merged 1 commit into from May 20, 2016

Conversation

jdannberg
Copy link
Contributor

Currently, the traction boundary conditions do not get the boundary indicator when they are called (but only the position and the normal). As different boundaries can have different boundary traction plugins, it is useful to also hand over the boundary indicator (just as we do for velocity boundary conditions).
This pull request updates the interface of the traction boundary conditions.

@jdannberg jdannberg force-pushed the traction_interface branch 2 times, most recently from ba41a67 to 0188040 Compare May 19, 2016 17:58
* Call the old-style function without the boundary id to maintain backwards
* compatibility. Normally the derived class should override this function.
*/

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make this a regular //-style comment and omit the empty line between comment and code.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, done. I also changed it in the interface.cc of the velocity boundary conditions, because that's where I stole it from ;-)
Just waiting for the tester.

@bangerth
Copy link
Contributor

Looks good. Please address the one issue and merge yourself.

@jdannberg jdannberg merged commit 9d06ade into geodynamics:master May 20, 2016
@jdannberg jdannberg deleted the traction_interface branch May 8, 2017 15:23
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.

None yet

2 participants