Reference documentation for deal.II version 9.6.0
\(\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\}}\)
Loading...
Searching...
No Matches
ArborXWrappers::SpherePredicate Class Reference

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

Inheritance diagram for ArborXWrappers::SpherePredicate:

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)
protected

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

Definition at line 160 of file access_traits.cc.

Member Function Documentation

◆ size()

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

The number of spheres stored in the structure.

Definition at line 178 of file access_traits.cc.

◆ get()

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

Return the ith sphere stored in the object.

Definition at line 186 of file access_traits.cc.

Member Data Documentation

◆ spheres

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

Definition at line 241 of file access_traits.h.


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