Skip to content

Bisection for get_ielement(), checks on reference grids#6

Merged
mrhardman merged 4 commits into
mainfrom
bisection-for-get_ielement
Jun 17, 2026
Merged

Bisection for get_ielement(), checks on reference grids#6
mrhardman merged 4 commits into
mainfrom
bisection-for-get_ielement

Conversation

@mrhardman

Copy link
Copy Markdown
Collaborator

Use a bisection algorithm rather than a brute force linear search for get_ielement(), which finds the element index given a coordinate value.

Reduce tolerances to eps(Float64) from ad-hoc values.

Ensure that FiniteElementCoordinate grids in general use collocation points in reference coordinates that include the internal boundary points -1 and 1 where appropriate.

mrhardman added 4 commits May 15, 2026 09:15
…ger values of nelement. Leave original implementation in comments.
…1 and 1, respectively, to make sure that the continuous Galerkin method can use an assembly for the global grid and operators of the type implemented.
@mrhardman mrhardman merged commit 5491472 into main Jun 17, 2026
1 check passed
@mrhardman mrhardman deleted the bisection-for-get_ielement branch June 17, 2026 07:28
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