Skip to content

[ENH] Refactor project_points_onto_surface for robustness and nonlinear projection support - #92

Draft
Leguark wants to merge 1 commit into
finite_faults/serializable_inputfrom
finite_faults/projection_correctness
Draft

[ENH] Refactor project_points_onto_surface for robustness and nonlinear projection support#92
Leguark wants to merge 1 commit into
finite_faults/serializable_inputfrom
finite_faults/projection_correctness

Conversation

@Leguark

@Leguark Leguark commented Jul 27, 2026

Copy link
Copy Markdown
Member

Refactors the project_points_onto_surface function to enable exact Newton-based projection for linear scalar fields and improve nonlinear field handling with residual re-evaluation requirements. Adds gradient and surface tolerance handling, error conditions for near-zero gradients, and improved validation for scalar and gradient inputs. Updates tests to validate projection correctness, idempotency, and edge cases. Enhances gradient field accessors in dense grid outputs to address inconsistencies.

…near projection support

Refactors the `project_points_onto_surface` function to enable exact Newton-based projection for linear scalar fields and improve nonlinear field handling with residual re-evaluation requirements. Adds gradient and surface tolerance handling, error conditions for near-zero gradients, and improved validation for scalar and gradient inputs. Updates tests to validate projection correctness, idempotency, and edge cases. Enhances gradient field accessors in dense grid outputs to address inconsistencies.

Leguark commented Jul 27, 2026

Copy link
Copy Markdown
Member Author

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.

1 participant