]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Update documentation of NeighborType. 9468/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 3 Feb 2020 02:00:14 +0000 (19:00 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 3 Feb 2020 02:00:14 +0000 (19:00 -0700)
include/deal.II/base/bounding_box.h

index ddf89fe67e7d89da975f03bf15d3d46123e97149..9dfc5302b7854e597c86aa665d67a42a3dcfa5d0 100644 (file)
@@ -32,25 +32,27 @@ DEAL_II_NAMESPACE_OPEN
 enum class NeighborType
 {
   /**
-   * not neighbours: the intersection is empty
+   * Not neighbors: the intersection is empty.
    */
   not_neighbors = 0,
 
   /**
-   * simple neighbors: the boxes intersect with an intersection of dimension at
-   * most spacedim - 2
+   * Simple neighbors: the boxes intersect with an intersection of dimension at
+   * most `spacedim - 2`. For example, in 2d this means that the two boxes
+   * touch at one corner of the each box.
    */
   simple_neighbors = 1,
 
   /**
-   * attached neighbors: neighbors with an intersection of dimension > spacedim
-   * - 2
+   * Attached neighbors: neighbors with an intersection of
+   * `dimension > spacedim - 2`. For example, in 2d this means that the two
+   * boxes touch along an edge.
    */
   attached_neighbors = 2,
 
   /**
-   * mergeable neighbors: neighbors which can be expressed with a single
-   * Bounding Box, e.g.
+   * Mergeable neighbors: neighbors which can be expressed with a single
+   * BoundingBox, e.g.
    *  @code
    *  .--V--W    .-----V
    *  |  |  | =  |     |

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.