Mpboundary tracking#34
Merged
Merged
Conversation
added 9 commits
May 27, 2026 17:34
…ndary width as a user-controlled parameter.
…grid.resolution for this. need to find a clean way to specify boundary width.
Collaborator
|
@subravvr, this looks great! A few notes:
|
colemanjs
reviewed
Jun 18, 2026
colemanjs
reviewed
Jun 18, 2026
…tion warning. function still works as intended
Collaborator
|
@subravvr, the visualization function needs to be updated. This is the current view:
|
Collaborator
|
@subravvr, Can you make the GIF in the README larger and a higher dpi to make the phases readable. |
added 7 commits
June 18, 2026 13:04
… porosity reliably with increased hatch and layer thickness.
Collaborator
|
@subravvr, the api example works, but the synthetic_api example gives "no phases present in this dataset" upon visualization. We may want to default this behavior. This should be returning a fully melted mesh, right? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This PR focuses on leveraging geometric information from the Lamé curve describing a melt pool boundary. Previously, a simple inside/outside check was performed to assign a voxel a melting state of 1 (inside) or 0 (outside).
However, with the Lamé curve for a boundary, we can compute the distance from the center of the melt pool reference frame to the boundary using Newton's method. Comparing this distance to the distance of the voxel from the center of the melt pool reference frame allows us not only to check if a point is inside or outside, but also on the boundary.
By tracking the melt pool boundaries, we can generate computational representations of repeated melting, akin to etched and polished surfaces. Additionally, we can track the intersections between boundaries to understand connectedness of melt pools. Currently, we are using this approach to try and calibrate melt pool dimensions in an inverse problem.
Main changes
Future work