Skip to content

Add support for complex-valued dofs - #130

Open
zjwegert wants to merge 1 commit into
gridap:masterfrom
zjwegert:complex-support
Open

Add support for complex-valued dofs#130
zjwegert wants to merge 1 commit into
gridap:masterfrom
zjwegert:complex-support

Conversation

@zjwegert

Copy link
Copy Markdown
Contributor

When using AD for complex-valued problems (i.e., Gridap#1325), the FESpace of the perturbed quantity must have vector_type<:AbstractVector{<:Complex}. For these cases, to use the DifferentiableTriangulation machinery, we need the DiscreteGeometry to take an FEFunction with complex-valued DOFs.

To handle this case, this PR proposes to define geometries using the real part of the provided FEFunction.

@codecov

codecov Bot commented Jul 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.89%. Comparing base (c30c8c0) to head (0eff769).
⚠️ Report is 41 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #130      +/-   ##
==========================================
+ Coverage   76.83%   76.89%   +0.06%     
==========================================
  Files          31       31              
  Lines        3600     3619      +19     
==========================================
+ Hits         2766     2783      +17     
- Misses        834      836       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant