Template Class MeshFieldsPointEvaluator

Inheritance Relationships

Base Type

  • public PointEvaluator< T, pcms::detail::default_layout_for_memory_space_t< DeviceMemorySpace > >

Class Documentation

template<typename T, typename LayoutPolicy = pcms::detail::default_layout_for_memory_space_t<DeviceMemorySpace>>
class MeshFieldsPointEvaluator : public PointEvaluator<T, pcms::detail::default_layout_for_memory_space_t<DeviceMemorySpace>>

Evaluates MeshFields fields at the bound points with the field’s MeshFields backend.

Public Functions

inline MeshFieldsPointEvaluator(std::shared_ptr<const MeshFieldsAdapterLayout> layout, std::shared_ptr<const pcms::detail::OmegaHMeshBinding> binding)

Groups the found points by element, with their first dim barycentric coordinates as the coordinates MeshFields evaluates at.

Parameters:
  • layout – MeshFields layout of the evaluated fields

  • binding – the search records of the query points

inline void EvaluateImpl(const Field<T> &field, ValueView<T, DeviceMemorySpace, LayoutPolicy> out) const override