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

Update to use of Eigen and Address transformation problem w/ TR cards #66

Merged
merged 61 commits into from
Sep 3, 2019

Conversation

pshriwise
Copy link
Member

@pshriwise pshriwise commented Aug 30, 2019

Summary

This PR intends to remove the armadillo dependency from the project and replaces it with eigen (hopefully resolving #51) and correct lattice transformations (not only translations like in #41) originally reported by @YeChengKSU.

Other notable changes:

  • adds a CMake test related to the characterization of GQ surfaces using the following reference form Radford University
  • adds a few representative GQ tests for both axis-aligned and transformed ellipsoids and elliptic cylinders

My apologies for the relatively large PR, but it was really easiest (and most time-efficient on my side) to combine these efforts into one.

Verification

I've tested all of the files in both /tests/gqs and /tests/nested-lattice-tests with both the master branch and eigen_update using both Trelis and OCE. No changes were observed in the resulting CAD files when using Trelis, but when testing OCE I noticed a few issues:

  • elliptic cylinders seem malformed
  • the rotated elliptic cylinder failed to generate using the master branch
  • curve artifacts were seen when generating lattice files

Poorly formed Elliptic Cylinder

Screenshot from 2019-08-30 13-19-00

Highlighted Curve Artifact

Screenshot from 2019-08-30 13-24-15

I'd really appreciate some verification from @zxkjack123 and @YeChengKSU of what I saw when testing the files mentioned above. Someday we'll have automated tests for this maybe...

Finally, thank you to @SamuelStern for the bulk of the leg work in our switch to eigen!

pshriwise and others added 30 commits August 30, 2019 13:36
…sues"

This reverts commit 9979b03.

Namespace issues do not appear to acutally be at fault
This reverts commit 68ee4f5.

Experimenting with and without semicolon to determine source of file-finding issue
This reverts commit f6d69a4.

Confirmed that adding the semicolon is somehow causing the file to not be found
Copy link
Member

@gonuke gonuke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pshriwise - this looks like it should do the trick!!

I reviewed this mostly from the point of view of whether it is algorithmically the same as the Armadillo version, and found a few questions/differences. Otherwise, I think this looks ready to go!

@gonuke
Copy link
Member

gonuke commented Sep 3, 2019

I'm ready to merge after updates to the README

@gonuke
Copy link
Member

gonuke commented Sep 3, 2019

Thanks @pshriwise - now to see how this works in Windows!!!

@gonuke gonuke merged commit b0675d7 into svalinn:master Sep 3, 2019
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.

4 participants