Reference documentation for deal.II version GIT relicensing-724-g64994cceda 2024-05-23 06:50:02+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
No Matches
Protected Member Functions | Private Attributes | List of all members
ArborXWrappers::SpherePredicate Class Reference

#include <deal.II/arborx/access_traits.h>

Inheritance diagram for ArborXWrappers::SpherePredicate:
Inheritance graph

Protected Member Functions

template<int dim, typename Number >
 SpherePredicate (const std::vector< std::pair<::Point< dim, Number >, Number > > &spheres)
std::size_t size () const
const std::pair<::Point< 3, float >, float > & get (unsigned int) const

Private Attributes

std::vector< std::pair<::Point< 3, float >, float > > spheres

Detailed Description

Base class for Sphere-based predicates providing basic functionality for derived classes; not supposed to be used on its own.

Definition at line 216 of file access_traits.h.

Constructor & Destructor Documentation

◆ SpherePredicate()

template<int dim, typename Number >
ArborXWrappers::SpherePredicate::SpherePredicate ( const std::vector< std::pair<::Point< dim, Number >, Number > > &  spheres)

Constructor. spheres is a list of spheres, i.e. a center and radius pair, used by the predicate.

Definition at line 160 of file

Member Function Documentation

◆ size()

std::size_t ArborXWrappers::SpherePredicate::size ( ) const

The number of spheres stored in the structure.

Definition at line 178 of file

◆ get()

const std::pair<::Point< 3, float >, float > & ArborXWrappers::SpherePredicate::get ( unsigned int  i) const

Return the ith sphere stored in the object.

Definition at line 186 of file

Member Data Documentation

◆ spheres

std::vector<std::pair<::Point<3, float>, float> > ArborXWrappers::SpherePredicate::spheres

Definition at line 241 of file access_traits.h.

The documentation for this class was generated from the following files: