Flow123d
master-8d5574fc2
|
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>
26 template<
unsigned int dimA,
unsigned int dimB>
38 if(i_points_.size() > 1)
39 for(
unsigned int i=0; i < i_points_.size()-1; i++)
41 length += std::abs(i_points_[i].local_bcoords_A()[1] - i_points_[i+1].local_bcoords_A()[1]);
52 double subtotal = 0.0;
55 for(
unsigned int j = 2; j <
i_points_.size();j++){
61 return fabs(subtotal/2);
65 template<
unsigned int dimA,
unsigned int dimB>
68 for(
unsigned int i = 0; i < intersection.
points().size(); i++)
69 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.