Flow123d
DF_mechanic_bench-71cc9cb
|
Internal auxiliary class representing intersection object of simplex<dimA> and simplex<dimB>. More...
#include <intersection_aux.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... | |
double | compute_measure () |
unsigned int | ips_in_face () const |
Returns idx of face when all IPs lie on it; -1 otherwise. More... | |
unsigned int | duplicities () const |
void | set_duplicities (unsigned int n_duplicities) |
void | set_ips_in_face (unsigned int face_idx) |
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... | |
unsigned int | ips_in_face_ |
Local index of face/side in which all IPs lie. More... | |
unsigned int | n_duplicities_ |
Number of duplicit intersections. More... | |
Friends | |
template<unsigned int , unsigned int > | |
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 36 of file intersection_aux.hh.
IntersectionAux< dimA, dimB >::IntersectionAux |
Default constructor.
Definition at line 21 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 12 of file intersection_aux.cc.
|
virtual |
Destructor.
Definition at line 27 of file intersection_aux.cc.
|
inline |
Returns index of bulk element.
Definition at line 122 of file intersection_aux.hh.
|
inline |
Returns index of component element.
Definition at line 118 of file intersection_aux.hh.
double IntersectionAux< 1, 3 >::compute_measure | ( | ) |
Definition at line 34 of file intersection_aux.cc.
double IntersectionAux< dimA, dimB >::compute_measure | ( | ) |
Computes the relative measure of intersection object. TODO: unifiy implementation with IntersectionLocalb
|
inline |
Definition at line 130 of file intersection_aux.hh.
|
inline |
Returns idx of face when all IPs lie on it; -1 otherwise.
Definition at line 126 of file intersection_aux.hh.
|
inline |
Returns intersection point of given index
.
Definition at line 108 of file intersection_aux.hh.
|
inline |
Returns intersection points by a reference.
Definition at line 100 of file intersection_aux.hh.
|
inline |
Returns intersection points by a constant reference.
Definition at line 104 of file intersection_aux.hh.
|
inline |
|
inline |
|
inline |
Returns number of intersection points.
Definition at line 114 of file intersection_aux.hh.
|
friend |
Definition at line 94 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 |
Local index of face/side in which all IPs lie.
Definition at line 46 of file intersection_aux.hh.
|
private |
Number of duplicit intersections.
Definition at line 48 of file intersection_aux.hh.