Program Listing for File adj_search.hpp

↰ Return to documentation for file (src/pcms/backends/omega_h/adj_search.hpp)

#ifndef PCMS_BACKENDS_OMEGA_H_ADJ_SEARCH_HPP
#define PCMS_BACKENDS_OMEGA_H_ADJ_SEARCH_HPP

#include <pcms/geometry/supports.hpp>
#include <pcms/localization/mls_support_helpers.hpp>
#include <pcms/utility/memory_spaces.hpp>
#include <pcms/utility/mesh_geometry.hpp>
#include <pcms/utility/detail/print.hpp>
#include <pcms/utility/types.hpp>

#include <Kokkos_Core.hpp>
#include <Kokkos_MathematicalFunctions.hpp>

namespace pcms::omega_h
{

SupportResults searchNeighbors(
  Omega_h::Mesh& mesh, int site_dim, const Omega_h::Reals& target_coords,
  int seed_dim, Kokkos::View<const LO*, DeviceMemorySpace> seeds,
  Omega_h::Real cutoffDistance, Omega_h::LO min_req_support = 12,
  Omega_h::LO max_allowed_support = 36, bool adapt_radius = true);
} // namespace pcms::omega_h

#endif // PCMS_BACKENDS_OMEGA_H_ADJ_SEARCH_HPP