Reference documentation for deal.II version 9.4.1
\(\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
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:
[legend]

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 217 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 152 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 176 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 184 of file access_traits.cc.

Member Data Documentation

◆ spheres

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

Definition at line 242 of file access_traits.h.


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