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
bounding_box.h File Reference
#include <deal.II/base/config.h>
#include <deal.II/base/exceptions.h>
#include <deal.II/base/point.h>
#include <limits>

Go to the source code of this file.

Classes

class  BoundingBox< spacedim, Number >
 
class  BoundingBox< 0, Number >
 

Namespaces

namespace  internal
 

Enumerations

enum class  NeighborType { not_neighbors = 0 , simple_neighbors = 1 , attached_neighbors = 2 , mergeable_neighbors = 3 }
 

Enumeration Type Documentation

◆ NeighborType

enum class NeighborType
strong

The enumerator NeighborType describes the neighboring relation between two bounding boxes.

Enumerator
not_neighbors 

Not neighbors: the intersection is empty.

simple_neighbors 

Simple neighbors: the boxes intersect with an intersection of dimension at most spacedim - 2. For example, in 2d this means that the two rectangles touch at a single point, which must then be a vertex of each box. In 3d, this means that two boxes touch along an edge.

attached_neighbors 

Attached neighbors: neighbors with an intersection of dimension > spacedim - 2. For example, in 2d this means that the two rectangles touch along (parts of) their edges. In 3d, it would mean that two boxes touch along (parts of) their faces.

mergeable_neighbors 

Mergeable neighbors: neighbors which can be expressed with a single BoundingBox, e.g.

.--V--W .-----V
| | | = | |
V--W--. V-----.

or one is inside the other. This is a special case of attached_neighbors where the two bounding boxes touch along the entirety of their respective faces, or where they overlap in suitable ways.

Definition at line 32 of file bounding_box.h.