gridap / gridap/Gridap.jl

Interpolation - user defined value when the point is out of the mesh

Open
#674 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Julia
Stars
879
Forks
119
Avg merge
6d 3h
Merged PRs (30d)
4

Description

I would like to use the interpolated values directly in routine, which calculates particle trajectories in the field. Implementation through the return_cache function is straightforward, but there is an issue when the particle trajectory gets outside of the mesh. In that case, the Gridap returns an error with the message: "Point is not inside any cell". Is it possible to avoid this error and e.q. return NaN value (or some different implementation)?

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.