Flow123d
DF_patch_fe_data_tables-47aef41
|
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 12 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 19 of file intersection_local.cc.
IntersectionLocalBase::~IntersectionLocalBase | ( | ) |
Definition at line 16 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 >, and IntersectionLocal< dimA, dimB >.
|
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.