PACMAN 0.1.0
Portable Algorithms for Coupling, Mapping, and Adaptive iNterpolation
Loading...
Searching...
No Matches
ArborX Namespace Reference

Classes

struct  AccessTraits< PACMAN::FiniteElements::PointCloudNearest< MemorySpace, Dim > >
 ArborX access traits for nearest-neighbor point-cloud predicates. More...
 
struct  AccessTraits< PACMAN::FiniteElements::PointIntersect< MemorySpace, Dim > >
 ArborX access traits for point-intersection predicates. More...
 
struct  AccessTraits< PACMAN::FiniteElements::PointNearest< ViewType > >
 ArborX access traits for nearest-neighbor predicates from 1D views. More...
 
struct  AccessTraits< PACMAN::RbfPum::DistanceToKNearest< ViewType > >
 An ArborX::AccessTraits specialization used for the DistanceToKNearest custom predicate. More...
 
struct  AccessTraits< PACMAN::RbfPum::GetClustersPoints< ViewType > >
 An ArborX::AccessTraits specialization used for the GetClustersPoints custom predicate. More...
 
struct  AccessTraits< PACMAN::RbfPum::Projection< ViewType > >
 An ArborX::AccessTraits specialization used for the Projection custom predicate. More...
 
struct  AccessTraits< PACMAN::RbfPum::TagEmptyCenters< ViewType > >
 An ArborX::AccessTraits specialization used for the TagEmptyCenters custom predicate. More...
 
struct  AccessTraits< PACMAN::RbfPum::TransformToNearest< ViewType > >
 An ArborX::AccessTraits specialization used for the TransformToNearest custom predicate. More...
 

Functions

template<int Dim>
KOKKOS_INLINE_FUNCTION constexpr bool operator== (const ArborX::Point< Dim, PACMAN::coordinates_t > &lhs, const ArborX::Point< Dim, PACMAN::coordinates_t > &rhs) noexcept
 Custom operator overload for operator== to compare two ArborX::Point using the values of each point, and handle NaN by skipping them.
 
template<int Dim>
KOKKOS_INLINE_FUNCTION constexpr bool operator!= (const ArborX::Point< Dim, PACMAN::coordinates_t > &lhs, const ArborX::Point< Dim, PACMAN::coordinates_t > &rhs) noexcept
 Custom operator overload for operator!= to compare two ArborX::Point using the values of each point, and handle NaN by skipping them.
 
template<int Dim>
KOKKOS_INLINE_FUNCTION bool constexpr operator< (const ArborX::Point< Dim, PACMAN::coordinates_t > &lhs, const ArborX::Point< Dim, PACMAN::coordinates_t > &rhs) noexcept
 Custom operator overload for operator< to compare two ArborX::Point using the values of each point.
 
template<int Dim>
KOKKOS_INLINE_FUNCTION bool constexpr operator> (const ArborX::Point< Dim, PACMAN::coordinates_t > &lhs, const ArborX::Point< Dim, PACMAN::coordinates_t > &rhs) noexcept
 Custom operator overload for operator> to compare two ArborX::Point using the values of each point.
 
template<int Dim>
std::ostream & operator<< (std::ostream &os, const ArborX::Point< Dim, PACMAN::coordinates_t > &point)
 Custom operator overload for operator<< to print a ArborX::Point with a nice format (ArborX::Point(x, y, z)).
 

Function Documentation

◆ operator!=()

template<int Dim>
KOKKOS_INLINE_FUNCTION constexpr bool ArborX::operator!= ( const ArborX::Point< Dim, PACMAN::coordinates_t > &  lhs,
const ArborX::Point< Dim, PACMAN::coordinates_t > &  rhs 
)
constexprnoexcept

Custom operator overload for operator!= to compare two ArborX::Point using the values of each point, and handle NaN by skipping them.

Template Parameters
DimThe space dimension of the points
Parameters
lhsThe lhs point in lhs != rhs
rhsThe rhs point in lhs != rhs
Returns
!(lhs == rhs)

Definition at line 44 of file operators.hpp.

◆ operator<()

template<int Dim>
KOKKOS_INLINE_FUNCTION bool constexpr ArborX::operator< ( const ArborX::Point< Dim, PACMAN::coordinates_t > &  lhs,
const ArborX::Point< Dim, PACMAN::coordinates_t > &  rhs 
)
constexprnoexcept

Custom operator overload for operator< to compare two ArborX::Point using the values of each point.

Performs a lexicographic ordering (NaNs are always bigger than non-NaNs) and follows strict weak ordering properties

Template Parameters
DimThe space dimension of the points
Parameters
lhsThe lhs point in lhs < rhs
rhsThe rhs point in lhs < rhs
Returns
true if lhs < rhs

Definition at line 58 of file operators.hpp.

◆ operator<<()

template<int Dim>
std::ostream & ArborX::operator<< ( std::ostream &  os,
const ArborX::Point< Dim, PACMAN::coordinates_t > &  point 
)

Custom operator overload for operator<< to print a ArborX::Point with a nice format (ArborX::Point(x, y, z)).

The coordinates are formated using their type

Warning
Works on host backends only
Template Parameters
DimThe space dimension of the points
Parameters
pointThe point to print
Returns
The stream the point has been added to

Definition at line 100 of file operators.hpp.

References PACMAN::fp_consts::set_precision().

◆ operator==()

template<int Dim>
KOKKOS_INLINE_FUNCTION constexpr bool ArborX::operator== ( const ArborX::Point< Dim, PACMAN::coordinates_t > &  lhs,
const ArborX::Point< Dim, PACMAN::coordinates_t > &  rhs 
)
constexprnoexcept

Custom operator overload for operator== to compare two ArborX::Point using the values of each point, and handle NaN by skipping them.

Template Parameters
DimThe space dimension of the points
Parameters
lhsThe lhs point in lhs == rhs
rhsThe rhs point in lhs == rhs

Definition at line 25 of file operators.hpp.

◆ operator>()

template<int Dim>
KOKKOS_INLINE_FUNCTION bool constexpr ArborX::operator> ( const ArborX::Point< Dim, PACMAN::coordinates_t > &  lhs,
const ArborX::Point< Dim, PACMAN::coordinates_t > &  rhs 
)
constexprnoexcept

Custom operator overload for operator> to compare two ArborX::Point using the values of each point.

Performs a lexicographic ordering (NaNs are always bigger than non-NaNs) and follows strict weak ordering properties

Template Parameters
DimThe space dimension of the points
Parameters
lhsThe lhs point in lhs > rhs
rhsThe rhs point in lhs > rhs
Returns
!(lhs <= rhs)

Definition at line 87 of file operators.hpp.