-
Notifications
You must be signed in to change notification settings - Fork 76
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
Any need for alternative grain boundary (GB) distance metrics than Morawiec 2013? 5DOF property interpolation? #972
Comments
This would be an interesting contribution to DREAM.3D. |
@sgbaird Did you want to try to contribute your codes to DREAM.3D |
@imikejackson I'm interested in doing so. Right now all the code is in MATLAB (https://GitHub.com/sgbaird-5dof/interp), with lots of vectorized operations, and most of my experience is with higher-level languages. Writing it in C++ might be a bit of a challenge. |
@oliverkjohnson, do you think there might be an undergraduate with the bandwidth to use MATLAB Coder to generate C++ versions (just for the VFZ distance metric)? Probably no actual C++ experience required. |
@sgbaird I don't have anyone available right now, but I can keep it in mind if new undergrads apply |
My experience with the MatLab Coder is that the C++ code that is generated still depends on licensed MatLab libraries. Maybe something has changed in the last few years? What are your thoughts about writing it in Python? |
It looks like that may have changed since it allows for outputting source code directly. The linked video makes it seem easy, but who knows until I try for this use case. I've been meaning to make a Python implementation for at least the distance function, so this would be two birds with one stone for me. Any special requirements or limitations for the Python code (didn't notice instructions in the contributing docs)? For example:
|
Also, in case anyone else comes across this, here is the citation for the (now published) paper:
|
We have been quietly letting people know that this exists. Basically it is a conda distribution of DREAM.3D. It enables 2 different use cases.
The downsides to either approach is that we are still working on how to actually distribute those filters since they would only really work with the "dream3d-conda" distribution and not a stand-alone distribution of DREAM.3D. |
@sgbaird Watched the video. I would say if you can get the MatLab codes to pass the coder then that might be the fastest way to generate C++ codes. Then you would just create a DREAM3D C++ filter to collect the inputs from the UI and pass those inputs to the generated code. Maybe worth a try. If you go down this route you will eventually need a full up DREAM.3D C++ Development environment. I would also fork and branch the https://www.github.com/dream3d/DREAM3DReview repository and add your codes in there. Also don't forget to place a copyright and license at the top of each source file. DREAM3DReview does NOT accept GPL or LGPL license since that would infect the BSD licenses. If you need to release under GPL/LGPL then we can get an entirely new plugin repository for those purposes. |
I recently developed a 5DOF GB interpolation framework (DOI: 10.1016/j.commatsci.2021.110756) based on grain boundary octonion distances (DOI: 10.1016/j.actamat.2020.05.024) that can compute a 50,000 x 50,000 pairwise distance matrix in ~10 minutes on 6 cores with near identical accuracy to the grain boundary octonion distance. The smooth interpolation is also very fast and accurate with enough GBs (I gave a TMS talk this past Monday in an uncertainty quantification session). I've noticed that GB distances are used in Find GBCD (Metric-Based Approach) and Find Distances to Characteristic Grain Boundaries, perhaps elsewhere.
I'm curious if there's a need/interest for alternative GB distance metrics in DREAM.3D or for 5DOF interpolation/visualization schemes. Also relevant is Shen's recent GB reconstruction scheme from the Rohrer group. It seems like these two could be paired really nicely with EBSD reconstruction techniques (i.e. go straight from EBSD data to a 5DOF grain boundary energy model and visualizations within DREAM.3D), so I thought it was worth asking.
The text was updated successfully, but these errors were encountered: