PACMAN 0.1.0
Portable Algorithms for Coupling, Mapping, and Adaptive iNterpolation
Loading...
Searching...
No Matches
operators.hpp File Reference
#include <ArborX_Point.hpp>
#include <Kokkos_Core.hpp>
#include <iomanip>
#include "common/types.hpp"
#include "utils/utils.hpp"

Go to the source code of this file.

Classes

struct  PACMAN::RbfPum::OffsetsScanPair
 
struct  PACMAN::RbfPum::OffsetsScan< ExecSpace >
 Struct used to build multiple matrices access offsets with one scan loop only, during the systems solver step. More...
 

Namespaces

namespace  ArborX
 
namespace  PACMAN
 
namespace  PACMAN::RbfPum
 

Functions

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) 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 ArborX::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 ArborX::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 ArborX::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 & 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)).
 
template<int_t Dim>
KOKKOS_INLINE_FUNCTION fp_t PACMAN::RbfPum::SquaredDifference (const ::ArborX::Point< Dim, coordinates_t > &lhs, const ::ArborX::Point< Dim, coordinates_t > &rhs) noexcept
 Returns the squared distance between two points, and check for NaN values.
 
template<int_t Dim>
KOKKOS_INLINE_FUNCTION fp_t PACMAN::RbfPum::Distance (const ::ArborX::Point< Dim, coordinates_t > &lhs, const ::ArborX::Point< Dim, coordinates_t > &rhs)
 Returns the euclidian norm between two points by performing a square root operation on the SquaredDifference result.
 
template<int_t Dim>
KOKKOS_INLINE_FUNCTION fp_t PACMAN::RbfPum::SquaredDifferenceNoCheck (const ::ArborX::Point< Dim, coordinates_t > &lhs, const ::ArborX::Point< Dim, coordinates_t > &rhs)
 Returns the squared distance between two points, and don't check for NaN values.
 
template<int_t Dim>
KOKKOS_INLINE_FUNCTION fp_t PACMAN::RbfPum::DistanceNoCheck (const ::ArborX::Point< Dim, coordinates_t > &lhs, const ::ArborX::Point< Dim, coordinates_t > &rhs)
 Returns the euclidian norm between two points by performing a square root operation on the SquaredDifferenceNoCheck result.