#1578 Deprecate paradigm of finding point inside element through local->global map
Metadata
Property | Value |
---|---|
Reported by | Aleksejs Fomins (aleksejs.fomins@lspr.ch) |
Reported at | Mar 3, 2015 11:29 |
Type | Feature Request |
Version | 2.3 |
Operating System | Unspecified / All |
Description
Problem:
For curvilinear grids global->local mapping is undefined for points outside element. Currently, the paradigm to check if a point is inside the element is to perform global->local map and see if resulting point is inside the element. This approach works only for linear grids.
Proposed solution:
grid::geometry
gains a method bool isInside(const GlobalCoordinate & global, LocalCoordinate & local)
, returns true and a meaningful local coordinate if the point is inside, and simply false with no further implications if the point is outside.