Closed sseraj closed 3 years ago
:exclamation: No coverage uploaded for pull request base (
master@2af054f
). Click here to learn what that means. The diff coverage isn/a
.:exclamation: Current head 1b93404 differs from pull request most recent head 5558ae8. Consider uploading reports for the commit 5558ae8 to get more accurate results
@@ Coverage Diff @@
## master #7 +/- ##
=========================================
Coverage ? 46.97%
=========================================
Files ? 5
Lines ? 1816
Branches ? 0
=========================================
Hits ? 853
Misses ? 963
Partials ? 0
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 2af054f...5558ae8. Read the comment docs.
This looks great; thank you for working on this. I have a few questions/comments:
I am mostly just curious about these, rather than expecting changes to address anything. The PR looks good, but just wanted to document a few things here so we can just read this PR rather than try to figure things out in the future from scratch.
- The imports in dvgeomulti need to be updated right? It should be very simple but just checking.
Yes, I updated them to:
from pysurf import intersectionAPI, curveSearchAPI, utilitiesAPI, tsurf_tools, adtAPI, tecplot_interface
- Can we make a release before and after this PR? The unused python code was crucial for me to understand how to use the fortran routines, so still easily accessing the latest version of the code by checking out the earlier tag sounds easy enough.
Yes, that is my plan. The current release is v1.1.0 and is up to date. I will release v1.2.0 after this is merged. Can you clarify which unused Python code you found useful? I kept almost all the TSurf related Python code.
- Let's say we want to recover the previous python functionality that Ney had. What are the changes we would need to make? Can we take the old python code, integrate it with the current version, and debug it w/o re-writing the entire thing?
For just the hyperbolic surface mesh generation, we would have to bring back the hypSurf Fortran and Python code. This would mainly be a matter of rearranging the old code in the new directories. I have never gotten any of the hypSurf examples or tests to run though, so getting it functional might require some effort.
For the full functionality of computing intersections and regenerating meshes inside the optimization loop, in addition to getting hypSurf working, we would have to debug the Manager
class and airfoil_intersection
function in tsurf_tools
. This would be fairly involved and rewriting these might actually be an easier approach.
Thanks again for this work!
Purpose
This is a major reorganization of the repo with the following key changes:
After this is merged, I will add pySurf to the Docker builds.
Type of change
Testing
Run the new tests with
testflo
.Checklist
flake8
andblack
to make sure the code adheres to PEP-8 and is consistently formatted