-
Notifications
You must be signed in to change notification settings - Fork 56
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
Added new OpenVSP wrapper #56
Conversation
….gitignore file. Added DVGeometryMulti to the init file.
…tment not functional yet
…f components to consider, rather than the full set of components.
… curve-resmeshing.
@bbrelje is the docker image with OpenVSP dependencies blocking this? If so I can try to work with Eirikur to get that sorted so we can merge this. |
@nwu63 the ESP/VSP image is blocking right now, yes |
@bbrelje FYI the OpenVSP/ESP packages are now in deps |
@anilyil please merge in my tests from my fork: https://github.com/bbrelje/pygeo-1/tree/vsp so we can get this PR closed out |
@bbrelje @nwu63 I merged Ben's branch here. Let me know if I need to do anything else. |
Oh no I guess we should merge the ESP one first so we get the STL for this? In the mean time should we add |
@nwu63 we gotta draw the line somewhere with these skiptests. numpy-stl is required when installing the optional feature [testing] so I think it's reasonable for the tests to fail if numpy-stl is not present but also not gonna die on this hill, so lmk how strongly you feel about that |
Yeah I guess this is required for testing, so what we have is fine. However, at this point why don't we just include STL as a required package (not under testing)? It's readily available from PyPI and installation is easy, so that might be easier than trying to manage multiple dependency sets. I'm also fine either way. |
@bbrelje See the Azure tests -- both of the Ubuntu images failed on one test, with atol of |
Ubuntu builds are seeing slight diff between parallel and serial FD
A single test is failing because the relative tolerance on a 0.0 ref value goes to
Is there a way to go around this in |
Yeah the assert we use is a wrapper on numpy.assert_allclose, which basically checks for |
Try another approach to handle the nonrepeatable parallel FD error on Ubuntu images
Relax the tolerance on the parallel FD test, reluctantly
@joanibal let's merge this - tests are passing now and opened an issue for the underlying problem |
Co-authored-by: joanibal <[email protected]> Co-authored-by: Ben Brelje <[email protected]> Co-authored-by: Neil Wu <[email protected]> Co-authored-by: Ben Brelje <[email protected]>
Purpose
This PR adds the new OpenVSP wrapper. The old one used file i/o. This one does everything in memory.
Type of change
Testing
I have created a few tests, and will send them to @bbrelje. I will work with him to add these to pygeo tests.
Checklist
flake8
andblack
to make sure the code adheres to PEP-8 and is consistently formatted