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

Updates to penalization and QoI classes #15

Merged
merged 3 commits into from
Aug 10, 2023
Merged

Updates to penalization and QoI classes #15

merged 3 commits into from
Aug 10, 2023

Conversation

dc-luo
Copy link
Collaborator

@dc-luo dc-luo commented Aug 10, 2023

Updates to penalization and QoI classes

  • Added a VariationalPenalization class, which allows the user to define a penalization term directly using a variational form
  • Changed the constructors of VariationalControlQoI and L2MisfitControlQoI to no longer take mesh as an input. The mesh was not being used and was a redundant input.
  • Updated the examples to reflect new changes

@dc-luo dc-luo requested a review from tomoleary August 10, 2023 17:36
@dc-luo dc-luo merged commit d9f20d5 into main Aug 10, 2023
1 check passed
@dc-luo dc-luo deleted the penalty-dev branch August 10, 2023 18:09
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.

2 participants