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

Relax assumption on BaseFormOperator's dual argument slot #283

Merged
merged 11 commits into from
Jul 17, 2024

Conversation

nbouziani
Copy link
Contributor

@nbouziani nbouziani commented May 2, 2024

This PR relaxes the assumption on the type of the object that goes into the dual argument slot of BaseFormOperators. Base form operators (e.g. ExternalOperator or Interpolate) of the form B: V -> V, or B: V x V* -> R, have an argument slot to represent their dual argument (the one in V*). Strictly speaking, whatever is in V* should be allowed to go in there. At the moment, the code assumes that only a Cofunction or a Form can be held in this slot. This PR extends that assumption to other cases such as Action or even BaseFormOperator.

@nbouziani nbouziani changed the title Update type check in replace Relax assumption on BaseFormOperator's dual argument slot May 3, 2024
@nbouziani nbouziani marked this pull request as draft May 3, 2024 04:38
@dham dham marked this pull request as ready for review July 17, 2024 15:43
@dham dham enabled auto-merge July 17, 2024 15:44
@dham dham added this pull request to the merge queue Jul 17, 2024
Merged via the queue into FEniCS:main with commit b507f2f Jul 17, 2024
12 checks passed
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