41 #ifndef DTK_INTERPOLATIONPAIRING_HPP 42 #define DTK_INTERPOLATIONPAIRING_HPP 44 #include <Teuchos_Array.hpp> 45 #include <Teuchos_ArrayView.hpp> 47 #include <DTK_Types.hpp> 67 const Teuchos::ArrayView<const double> &child_centers,
68 const Teuchos::ArrayView<const double> &parent_centers,
69 const bool use_knn,
const unsigned num_neighbors,
const double radius );
73 Teuchos::ArrayView<const unsigned>
77 Teuchos::ArrayRCP<EntityId> childrenPerParent()
const 83 double parentSupportRadius(
const unsigned parent_id )
const;
87 Teuchos::Array<Teuchos::Array<unsigned>> d_pairings;
90 Teuchos::ArrayRCP<EntityId> d_pair_sizes;
93 Teuchos::Array<double> d_radii;
102 #endif // end DTK_INTERPOLATIONPAIRING_HPP SplineInterpolationPairing(const Teuchos::ArrayView< const double > &child_centers, const Teuchos::ArrayView< const double > &parent_centers, const bool use_knn, const unsigned num_neighbors, const double radius)
Constructor.
Teuchos::ArrayView< const unsigned > childCenterIds(const unsigned parent_id) const
Given a parent center local id get the ids of the child centers within the given radius.
Local child/parent center pairings.