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

Allow ufl.real/imag/conj on vectors and tensors #496

Merged
merged 2 commits into from Jun 7, 2022
Merged

Conversation

jorgensd
Copy link
Sponsor Member

@jorgensd jorgensd commented Jun 6, 2022

With help from @michalhabera we can now generate code for problems such as:

J=  dot(cross(A, conj(B)), C) * dx

where A, B and C are vectors.

  • Added test to check that apply real/imag/conj gives the same result when applied on a scalar or vector quantity

@jorgensd jorgensd merged commit 8109cce into main Jun 7, 2022
@jorgensd jorgensd deleted the dokken/vec-conj branch June 7, 2022 17: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.

None yet

3 participants