Skip to content

Comments

Handle out-of-bounds coordinates during evaluation#259

Open
Sichao25 wants to merge 4 commits intoSCOREC:developfrom
Sichao25:yus/out_of_bound_mode
Open

Handle out-of-bounds coordinates during evaluation#259
Sichao25 wants to merge 4 commits intoSCOREC:developfrom
Sichao25:yus/out_of_bound_mode

Conversation

@Sichao25
Copy link
Contributor

Handle out-of-bounds cases by throwing an exception or filling a given value. CLAMP mode (map to nearest elements) is not yet implemented.

@Sichao25 Sichao25 marked this pull request as ready for review February 14, 2026 04:07
@jacobmerson
Copy link
Collaborator

@hgangwar please review this when you get a chance. Changes here are what we discussed about handling points outside the domain.

@hgangwar
Copy link

@jacobmerson , the test case validates exactly the functionality we need. As I understand it, any out of bounds vertex's element index is marked as something < 0, and handled accordingly via OutOfBoundsMode. I will verify it further with the convergence testcase.

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.

3 participants