dune-pdelab  2.0.0
Public Types | Static Public Member Functions | List of all members
Dune::PDELab::IntersectionType Struct Reference

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...
 

Detailed Description

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.

Member Enumeration Documentation

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)

Member Function Documentation

template<typename Intersection >
static Type Dune::PDELab::IntersectionType::get ( const Intersection &  is)
inlinestatic

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