EBGeometry  1.0
Classes | Enumerations | Variables
Octree Namespace Reference

Namespace for octree functionality. More...

Classes

class  Node
 Octree class without anything special (this uses full tree representation rather than linear/pointerless). More...
 

Enumerations

enum  OctantIndex : size_t {
  BottomLeftFront = 0 , BottomRightFront = 1 , BottomLeftBack = 2 , BottomRightBack = 3 ,
  TopLeftFront = 4 , TopRightFront = 5 , TopLeftBack = 6 , TopRightBack = 7
}
 Lexicographical x-y-z octant indexing.
 

Variables

template<typename T >
constexpr std::array< Vec3T< T >, 8 > LowCorner
 Lower-left corners of the octants on the unit cube, indexed lexicographically in x-y-z. More...
 
template<typename T >
constexpr std::array< Vec3T< T >, 8 > HighCorner
 Upper-right corners of the octants on the unit cube, indexed lexicographically in x-y-z. More...
 

Detailed Description

Namespace for octree functionality.

Variable Documentation

◆ HighCorner

template<typename T >
constexpr std::array<Vec3T<T>, 8> Octree::HighCorner
constexpr
Initial value:
= {LowCorner<T>[0] + 0.5 * Vec3T<T>::one(),
LowCorner<T>[1] + 0.5 * Vec3T<T>::one(),
LowCorner<T>[2] + 0.5 * Vec3T<T>::one(),
LowCorner<T>[3] + 0.5 * Vec3T<T>::one(),
LowCorner<T>[4] + 0.5 * Vec3T<T>::one(),
LowCorner<T>[5] + 0.5 * Vec3T<T>::one(),
LowCorner<T>[6] + 0.5 * Vec3T<T>::one(),
LowCorner<T>[7] + 0.5 * Vec3T<T>::one()}
static constexpr Vec3T< T > one() noexcept
Return av vector with x = y = z = 1.

Upper-right corners of the octants on the unit cube, indexed lexicographically in x-y-z.

◆ LowCorner

template<typename T >
constexpr std::array<Vec3T<T>, 8> Octree::LowCorner
constexpr
Initial value:
= {Vec3T<T>(0.0, 0.0, 0.0),
Vec3T<T>(0.5, 0.0, 0.0),
Vec3T<T>(0.0, 0.5, 0.0),
Vec3T<T>(0.5, 0.5, 0.0),
Vec3T<T>(0.0, 0.0, 0.5),
Vec3T<T>(0.5, 0.0, 0.5),
Vec3T<T>(0.0, 0.5, 0.5),
Vec3T<T>(0.5, 0.5, 0.5)}
Three-dimensional vector class with arithmetic operators.
Definition: EBGeometry_Vec.hpp:218

Lower-left corners of the octants on the unit cube, indexed lexicographically in x-y-z.