gridap / gridap/Gridap.jl

Issue finding cells in interpolate

Open
#727 4 comments 0 reactions 1 assignee Claimed by @oriolcg View on GitHub
Dominant language
Julia
Stars
879
Forks
119
Avg merge
6d 3h
Merged PRs (30d)
4

Description

Hi @fverdugo,

there is an error in the algorithm for finding the cell where a given point lies for unstructured grids. This error is manifested when a point lies in an element whose vertices are not the closes vertex to the point. See for instance the following example:

![tmp](https://user-images.githubusercontent.com/9356155/144309790-3026569a-b5e4-4d5d-a8fe-181a8595f7d5.png)
:

One possibility for a workaround would be to find through the neighboring elements if no cell is found in the first pass. But I'm not sure if this is efficient and I don't know how to implement it in the most efficient manner. Any ideas?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.