Struct PointLocalizationSearch::Result

Nested Relationships

This struct is a nested type of Template Class PointLocalizationSearch.

Struct Documentation

struct Result

Public Types

enum class Dimensionality

Values:

enumerator VERTEX
enumerator EDGE
enumerator FACE
enumerator REGION
enumerator NO_INTERSECT

Public Functions

inline constexpr bool IsOutside() const

True when the point was not located inside any entity.

inline constexpr LO EntityId() const

Id of the entity of dimension dimensionality: the containing entity of a located point, the nearest entity of an outside point, or -1 for NO_INTERSECT.

Public Members

Dimensionality dimensionality
LO element_id
Omega_h::Vector<dim + 1> parametric_coords

Public Static Functions

static inline constexpr LO OutsideId(LO id)

element_id of a point outside the mesh whose nearest entity is id.