Flow123d
release_3.0.0-1210-g1d9e2bd
|
Common base for intersection object. More...
#include <intersection_local.hh>
Public Member Functions | |
IntersectionLocalBase () | |
IntersectionLocalBase (unsigned int component_element_idx, unsigned int bulk_element_idx) | |
Constructor taking in element indices. More... | |
~IntersectionLocalBase () | |
unsigned int | component_ele_idx () const |
Returns index of component element. More... | |
unsigned int | bulk_ele_idx () const |
Returns index of bulk element. More... | |
virtual double | compute_measure () const =0 |
Protected Attributes | |
unsigned int | component_element_idx_ |
Index of intersecting element in the component. More... | |
unsigned int | bulk_element_idx_ |
Index of intersecting element in the bulk. More... | |
Common base for intersection object.
This base class provides unification of all intersection objects. The common part is a pair of component element index and bulk element index.
The derived class IntersectionLocal<dimA,dimB>
differs in coordinates length according to dimA
and dimB
.
Definition at line 48 of file intersection_local.hh.
IntersectionLocalBase::IntersectionLocalBase | ( | ) |
Definition at line 13 of file intersection_local.cc.
IntersectionLocalBase::IntersectionLocalBase | ( | unsigned int | component_element_idx, |
unsigned int | bulk_element_idx | ||
) |
Constructor taking in element indices.
Definition at line 20 of file intersection_local.cc.
IntersectionLocalBase::~IntersectionLocalBase | ( | ) |
Definition at line 17 of file intersection_local.cc.
|
inline |
Returns index of bulk element.
Definition at line 77 of file intersection_local.hh.
|
inline |
Returns index of component element.
Definition at line 74 of file intersection_local.hh.
|
pure virtual |
Implemented in IntersectionLocal< dimA, dimB >, IntersectionLocal< 2, 3 >, IntersectionLocal< 2, 2 >, IntersectionLocal< 1, 3 >, and IntersectionLocal< 1, 2 >.
|
protected |
Index of intersecting element in the bulk.
Definition at line 54 of file intersection_local.hh.
|
protected |
Index of intersecting element in the component.
Definition at line 52 of file intersection_local.hh.