Flow123d
JS_before_hm-1754-g1847fd3ed
|
Go to the documentation of this file.
11 template<
unsigned int dimA,
unsigned int dimB>
13 unsigned int bulk_element_idx)
14 : component_element_idx_(component_element_idx),
15 bulk_element_idx_(bulk_element_idx),
20 template<
unsigned int dimA,
unsigned int dimB>
24 template<
unsigned int dimA,
unsigned int dimB>
36 if(i_points_.size() > 1)
37 for(
unsigned int i=0; i < i_points_.size()-1; i++)
39 length += std::abs(i_points_[i].local_bcoords_A()[1] - i_points_[i+1].local_bcoords_A()[1]);
50 double subtotal = 0.0;
53 for(
unsigned int j = 2; j <
i_points_.size();j++){
59 return fabs(subtotal/2);
63 template<
unsigned int dimA,
unsigned int dimB>
66 for(
unsigned int i = 0; i < intersection.
points().size(); i++)
67 os << intersection.
points()[i];
Class RefElement defines numbering of vertices, sides, calculation of normal vectors etc.
IntersectionAux()
Default constructor.
std::vector< IntersectionPointAux< dimA, dimB > > i_points_
Vector of internal intersection points.
template ostream & operator<<< 1, 2 >(ostream &os, const IntersectionAux< 1, 2 > &s)
template ostream & operator<<< 2, 3 >(ostream &os, const IntersectionAux< 2, 3 > &s)
std::vector< IntersectionPointAux< dimA, dimB > > & points()
Returns intersection points by a reference.
template ostream & operator<<< 1, 3 >(ostream &os, const IntersectionAux< 1, 3 > &s)
virtual ~IntersectionAux()
Destructor.
Internal class representing intersection object.
ostream & operator<<(ostream &os, const IntersectionAux< dimA, dimB > &intersection)
Internal auxiliary class representing intersection object of simplex<dimA> and simplex<dimB>.
template ostream & operator<<< 2, 2 >(ostream &os, const IntersectionAux< 2, 2 > &s)
Internal class representing intersection point.