defines an intersection mapper for mapping of global DOFs assigned to faces which also works for adaptive grids. More...
#include <dumux/common/intersectionmapper.hh>
defines an intersection mapper for mapping of global DOFs assigned to faces which also works for adaptive grids.
Public Member Functions | |
IntersectionMapper (const GridView &gridview) | |
const ElementMapper & | elementMapper () const |
int | index (const Element &element) const |
Map element to array index. More... | |
int | subIndex (int elemIdx, int fIdx) |
Map interface fIdx'th interface of element index to array index. More... | |
int | subIndex (int elemIdx, int fIdx) const |
Map interface fIdx'th interface of element index to array index. More... | |
int | subIndex (const Element &element, int fIdx) |
Map interface fIdx'th interface of element to array index. More... | |
int | subIndex (const Element &element, int fIdx) const |
int | maplocal (int elemIdx, int fIdx) |
int | maplocal (int elemIdx, int fIdx) const |
int | maplocal (const Element &element, int fIdx) |
int | maplocal (const Element &element, int fIdx) const |
unsigned int | size () const |
unsigned int | size (int elemIdx) const |
unsigned int | size (const Element &element) const |
void | update (const GridView &gridView) |
void | update (GridView &&gridView) |
Protected Member Functions | |
void | update_ () |
Protected Attributes | |
GridView | gridView_ |
ElementMapper | elementMapper_ |
unsigned int | size_ |
std::vector< std::unordered_map< int, int > > | intersectionMapGlobal_ |
std::vector< std::unordered_map< int, int > > | intersectionMapLocal_ |
std::unordered_map< int, int > | standardLocalIdxMap_ |
|
inline |
|
inline |
|
inline |
Map element to array index.
element | Reference to element which should be mapped. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Map interface fIdx'th interface of element to array index.
element | Reference to element. |
fIdx | Index of interface to map. |
|
inline |
|
inline |
Map interface fIdx'th interface of element index to array index.
elemIdx | Index of element. |
fIdx | Index of interface to map. |
|
inline |
Map interface fIdx'th interface of element index to array index.
elemIdx | Index of element. |
fIdx | Index of interface to map. |
|
inline |
|
inline |
|
inlineprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |