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>
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>
64 ostream& operator<<(ostream& os, const IntersectionAux<dimA,dimB>& intersection)
66 for(
unsigned int i = 0; i < intersection.points().size(); i++)
67 os << intersection.points()[i];
std::vector< IntersectionPointAux< dimA, dimB > > i_points_
Vector of internal intersection points.
template ostream & operator<< < 2, 2 >(ostream &os, const IntersectionAux< 2, 2 > &s)
virtual ~IntersectionAux()
Destructor.
template ostream & operator<< < 1, 3 >(ostream &os, const IntersectionAux< 1, 3 > &s)
IntersectionAux()
Default constructor.
template ostream & operator<< < 2, 3 >(ostream &os, const IntersectionAux< 2, 3 > &s)
Class RefElement defines numbering of vertices, sides, calculation of normal vectors etc...
template ostream & operator<< < 1, 2 >(ostream &os, const IntersectionAux< 1, 2 > &s)
Internal class representing intersection point.
Internal class representing intersection object.