dune-pdelab
2.0.0
|
Translation helper from intersection method return values to intersection type. More...
#include <dune/pdelab/gridoperator/common/assemblerutilities.hh>
Public Types | |
enum | Type { processor = 0, skeleton = 1, boundary = 2, periodic = 3 } |
Static Public Member Functions | |
template<typename Intersection > | |
static Type | get (const Intersection &is) |
Returns the type of the intersection. More... | |
Translation helper from intersection method return values to intersection type.
This struct can be used to query an intersection for its type in a convenient way. Classification occurs in accordance with the specification for the return values of Intersection::neighbor() and Intersection::boundary() given in the documentation of the Intersection class.
Enumerator | |
---|---|
processor |
processor boundary intersection (neighbor() == false && boundary() == false) |
skeleton |
skeleton intersection (neighbor() == true && boundary() == false) |
boundary |
domain boundary intersection (neighbor() == false && boundary() == true) |
periodic |
periodic boundary intersection (neighbor() == true && boundary() == true) |
|
inlinestatic |
Returns the type of the intersection.
Referenced by Dune::PDELab::DefaultAssembler< CGGFS, GFS, CC, CC, nonoverlapping_mode >::assemble().