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

Complex DVGeometryMulti #153

Merged
merged 8 commits into from
Aug 30, 2022
Merged

Complex DVGeometryMulti #153

merged 8 commits into from
Aug 30, 2022

Conversation

sseraj
Copy link
Contributor

@sseraj sseraj commented Aug 23, 2022

Purpose

With pySurf complexified, I was able to add a complex mode for DVGeometryMulti. The changes mostly involve overloading the pySurf API functions and initializing variables with the correct dtype.

Expected time until merged

1 week

Type of change

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (non-backwards-compatible fix or feature)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Documentation update
  • Maintenance update
  • Other (please describe)

Testing

I added a complex version of the derivative test to show that this is working.

Checklist

  • I have run flake8 and black to make sure the code adheres to PEP-8 and is consistently formatted
  • I have run unit and regression tests which pass locally with my changes
  • I have added new tests that prove my fix is effective or that my feature works
  • I have added necessary documentation

@sseraj sseraj requested a review from anilyil August 23, 2022 19:40
@sseraj sseraj requested a review from a team as a code owner August 23, 2022 19:40
@sseraj sseraj requested a review from hajdik August 23, 2022 19:40
@codecov
Copy link

codecov bot commented Aug 23, 2022

Codecov Report

Merging #153 (e3e3bda) into main (7d08ec5) will increase coverage by 0.22%.
The diff coverage is 94.31%.

@@            Coverage Diff             @@
##             main     #153      +/-   ##
==========================================
+ Coverage   63.67%   63.89%   +0.22%     
==========================================
  Files          47       47              
  Lines       11724    11745      +21     
==========================================
+ Hits         7465     7505      +40     
+ Misses       4259     4240      -19     
Impacted Files Coverage Δ
pygeo/parameterization/DVGeoMulti.py 89.99% <94.31%> (+0.16%) ⬆️
pygeo/parameterization/DVGeo.py 65.66% <0.00%> (+0.93%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sseraj
Copy link
Contributor Author

sseraj commented Aug 23, 2022

The c7 image seems to be running into some divide by zero issues. I will try to debug this.

@sseraj
Copy link
Contributor Author

sseraj commented Aug 25, 2022

The problem was the result of adding a real-valued point set to a complex DVGeometryMulti object in the test. This was fortuitously working on the gcc images. The test now works properly on all images.

@anilyil anilyil merged commit 787a96d into main Aug 30, 2022
@anilyil anilyil deleted the multi-complex branch August 30, 2022 10:28
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