Flow123d
DF_patch_fe_data_tables-586fb30
|
Class represents intersection of two elements. More...
#include <intersection_local.hh>
Public Member Functions | |
IntersectionLocal () | |
Default constructor. More... | |
IntersectionLocal (unsigned int component_element_idx, unsigned int bulk_element_idx) | |
Constructor taking in element indices. More... | |
IntersectionLocal (const IntersectionAux< dimA, dimB > &iaux) | |
Copy constructor. More... | |
~IntersectionLocal () | |
Destructor. More... | |
double | compute_measure () const |
Public Member Functions inherited from IntersectionLocalBase | |
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... | |
Private Attributes | |
std::vector< IntersectionPoint< dimA, dimB > > | i_points_ |
Vector of intersection points. More... | |
Getters. | |
std::vector< IntersectionPoint< dimA, dimB > > & | points () |
Returns intersection points by a reference. More... | |
const std::vector< IntersectionPoint< dimA, dimB > > & | points () const |
Returns intersection points by a constant reference. More... | |
const IntersectionPoint< dimA, dimB > & | operator[] (unsigned int index) const |
Returns intersection point of given index . More... | |
unsigned int | size () const |
Returns number of intersection points. More... | |
double | compute_measure () const override |
Computes the relative measure of intersection object. More... | |
std::ostream & | operator<< (std::ostream &os, const IntersectionLocal< dimA, dimB > &intersection) |
Friend output operator. More... | |
Additional Inherited Members | |
Protected Attributes inherited from IntersectionLocalBase | |
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... | |
Class represents intersection of two elements.
It contains indices of intersecting elements (inherited from base class) and vector of intersection points which provides barycentric coordinates on both elements.
Definition at line 89 of file intersection_local.hh.
IntersectionLocal< dimA, dimB >::IntersectionLocal |
Default constructor.
Definition at line 26 of file intersection_local.cc.
IntersectionLocal< dimA, dimB >::IntersectionLocal | ( | unsigned int | component_element_idx, |
unsigned int | bulk_element_idx | ||
) |
Constructor taking in element indices.
Definition at line 30 of file intersection_local.cc.
IntersectionLocal< dimA, dimB >::IntersectionLocal | ( | const IntersectionAux< dimA, dimB > & | iaux | ) |
Copy constructor.
Definition at line 35 of file intersection_local.cc.
IntersectionLocal< dimA, dimB >::~IntersectionLocal |
Destructor.
Definition at line 47 of file intersection_local.cc.
|
virtual |
Implements IntersectionLocalBase.
Definition at line 69 of file intersection_local.cc.
|
overridevirtual |
Computes the relative measure of intersection object.
Implements IntersectionLocalBase.
Definition at line 52 of file intersection_local.cc.
|
inline |
Returns intersection point of given index
.
Definition at line 138 of file intersection_local.hh.
|
inline |
Returns intersection points by a reference.
Definition at line 130 of file intersection_local.hh.
|
inline |
Returns intersection points by a constant reference.
Definition at line 134 of file intersection_local.hh.
|
inline |
Returns number of intersection points.
Definition at line 143 of file intersection_local.hh.
|
friend |
Friend output operator.
|
private |
Vector of intersection points.
Definition at line 92 of file intersection_local.hh.