walberla::geometry::containment_octree::Node< ContainmentOctreeT > Class Template Referenceabstract

#include <Node.h>

+ Inheritance diagram for walberla::geometry::containment_octree::Node< ContainmentOctreeT >:

Public Types

using Point = typename ContainmentOctreeT::Point
 
using Scalar = typename ContainmentOctreeT::Scalar
 
using AABB = typename ContainmentOctreeT::AABB
 
using DistanceObject = typename ContainmentOctreeT::DistanceObject
 
using KahanAccumulator = typename ContainmentOctreeT::KahanAccumulator
 

Public Member Functions

virtual ~Node ()=default
 
virtual bool contains (const Point &p) const =0
 
virtual uint_t height () const =0
 
virtual uint_t numNodes () const =0
 
virtual void numNodes (uint_t &numInside, uint_t &numOutside, uint_t &numIndeterminate, uint_t &numBranch) const =0
 
virtual void volumes (KahanAccumulator &insideVolume, KahanAccumulator &outsideVolume, KahanAccumulator &indeterminateVolume, Scalar volume) const =0
 
virtual uint_t numChildren () const =0
 
virtual const NodegetChild (const uint_t idx) const =0
 

Static Public Member Functions

static Point toPoint (const Vector3< real_t > &p)
 
static Vector3< real_tfromPoint (const Point &p)
 
static Scalar toScalar (const real_t &x)
 
static real_t fromScalar (const Scalar &x)
 

Member Typedef Documentation

◆ AABB

template<typename ContainmentOctreeT >
using walberla::geometry::containment_octree::Node< ContainmentOctreeT >::AABB = typename ContainmentOctreeT::AABB

◆ DistanceObject

template<typename ContainmentOctreeT >
using walberla::geometry::containment_octree::Node< ContainmentOctreeT >::DistanceObject = typename ContainmentOctreeT::DistanceObject

◆ KahanAccumulator

template<typename ContainmentOctreeT >
using walberla::geometry::containment_octree::Node< ContainmentOctreeT >::KahanAccumulator = typename ContainmentOctreeT::KahanAccumulator

◆ Point

template<typename ContainmentOctreeT >
using walberla::geometry::containment_octree::Node< ContainmentOctreeT >::Point = typename ContainmentOctreeT::Point

◆ Scalar

template<typename ContainmentOctreeT >
using walberla::geometry::containment_octree::Node< ContainmentOctreeT >::Scalar = typename ContainmentOctreeT::Scalar

Constructor & Destructor Documentation

◆ ~Node()

template<typename ContainmentOctreeT >
virtual walberla::geometry::containment_octree::Node< ContainmentOctreeT >::~Node ( )
virtualdefault

Member Function Documentation

◆ contains()

template<typename ContainmentOctreeT >
virtual bool walberla::geometry::containment_octree::Node< ContainmentOctreeT >::contains ( const Point p) const
pure virtual

◆ fromPoint()

template<typename ContainmentOctreeT >
static Vector3<real_t> walberla::geometry::containment_octree::Node< ContainmentOctreeT >::fromPoint ( const Point p)
inlinestatic

◆ fromScalar()

template<typename ContainmentOctreeT >
static real_t walberla::geometry::containment_octree::Node< ContainmentOctreeT >::fromScalar ( const Scalar x)
inlinestatic

◆ getChild()

template<typename ContainmentOctreeT >
virtual const Node* walberla::geometry::containment_octree::Node< ContainmentOctreeT >::getChild ( const uint_t  idx) const
pure virtual

◆ height()

◆ numChildren()

template<typename ContainmentOctreeT >
virtual uint_t walberla::geometry::containment_octree::Node< ContainmentOctreeT >::numChildren ( ) const
pure virtual

◆ numNodes() [1/2]

template<typename ContainmentOctreeT >
virtual uint_t walberla::geometry::containment_octree::Node< ContainmentOctreeT >::numNodes ( ) const
pure virtual

◆ numNodes() [2/2]

◆ toPoint()

template<typename ContainmentOctreeT >
static Point walberla::geometry::containment_octree::Node< ContainmentOctreeT >::toPoint ( const Vector3< real_t > &  p)
inlinestatic

◆ toScalar()

template<typename ContainmentOctreeT >
static Scalar walberla::geometry::containment_octree::Node< ContainmentOctreeT >::toScalar ( const real_t x)
inlinestatic

◆ volumes()

template<typename ContainmentOctreeT >
virtual void walberla::geometry::containment_octree::Node< ContainmentOctreeT >::volumes ( KahanAccumulator insideVolume,
KahanAccumulator outsideVolume,
KahanAccumulator indeterminateVolume,
Scalar  volume 
) const
pure virtual

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