Flow123d
release_2.2.0-914-gf1a3a4f
|
Internal auxiliary class representing intersection object of simplex<dimA> and simplex<dimB>. More...
#include <compute_intersection.hh>
Public Member Functions | |
IntersectionAux () | |
Default constructor. More... | |
IntersectionAux (unsigned int component_element_idx, unsigned int bulk_element_idx) | |
Constructor taking in element indices. More... | |
virtual | ~IntersectionAux () |
Destructor. More... | |
std::vector< IntersectionPointAux< dimA, dimB > > & | points () |
Returns intersection points by a reference. More... | |
const std::vector< IntersectionPointAux< dimA, dimB > > & | points () const |
Returns intersection points by a constant reference. More... | |
const IntersectionPointAux< dimA, dimB > & | operator[] (unsigned int index) const |
Returns intersection point of given index . More... | |
unsigned int | size () const |
Returns number of intersection points. More... | |
unsigned int | component_ele_idx () const |
Returns index of component element. More... | |
unsigned int | bulk_ele_idx () const |
Returns index of bulk element. More... | |
unsigned int | is_pathologic () const |
Returns index of bulk element. More... | |
double | compute_measure () |
template<> | |
double | compute_measure () |
Private Attributes | |
std::vector< IntersectionPointAux< dimA, dimB > > | i_points_ |
Vector of internal intersection points. More... | |
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... | |
bool | pathologic_ |
Flag for pathologic case. More... | |
Friends | |
template<typename U , typename V > | |
class | ComputeIntersection |
template<unsigned int dimAA, unsigned int dimBB> | |
std::ostream & | operator<< (std::ostream &os, const IntersectionAux< dimAA, dimBB > &intersection) |
Friend output operator. More... | |
Internal auxiliary class representing intersection object of simplex<dimA> and simplex<dimB>.
It contains topology information and auxiliary intersection points. Used in ComputeIntersection classes.
Definition at line 47 of file compute_intersection.hh.
IntersectionAux< dimA, dimB >::IntersectionAux | ( | ) |
Default constructor.
Definition at line 19 of file intersection_aux.cc.
IntersectionAux< dimA, dimB >::IntersectionAux | ( | unsigned int | component_element_idx, |
unsigned int | bulk_element_idx | ||
) |
Constructor taking in element indices.
Definition at line 11 of file intersection_aux.cc.
|
virtual |
Destructor.
Definition at line 23 of file intersection_aux.cc.
|
inline |
Returns index of bulk element.
Definition at line 109 of file intersection_aux.hh.
|
inline |
Returns index of component element.
Definition at line 105 of file intersection_aux.hh.
double IntersectionAux< 1, 3 >::compute_measure | ( | ) |
Definition at line 31 of file intersection_aux.cc.
double IntersectionAux< dimA, dimB >::compute_measure | ( | ) |
Computes the relative measure of intersection object. TODO: unifiy implementation with IntersectionLocalb
|
inline |
Returns index of bulk element.
Definition at line 113 of file intersection_aux.hh.
|
inline |
Returns intersection point of given index
.
Definition at line 95 of file intersection_aux.hh.
|
inline |
Returns intersection points by a reference.
Definition at line 87 of file intersection_aux.hh.
|
inline |
Returns intersection points by a constant reference.
Definition at line 91 of file intersection_aux.hh.
|
inline |
Returns number of intersection points.
Definition at line 101 of file intersection_aux.hh.
|
friend |
Definition at line 81 of file intersection_aux.hh.
|
friend |
Friend output operator.
|
private |
Index of intersecting element in the bulk.
Definition at line 44 of file intersection_aux.hh.
|
private |
Index of intersecting element in the component.
Definition at line 42 of file intersection_aux.hh.
|
private |
Vector of internal intersection points.
Definition at line 39 of file intersection_aux.hh.
|
private |
Flag for pathologic case.
Definition at line 46 of file intersection_aux.hh.