GCC Code Coverage Report


Directory: ../../../builds/dumux-repositories/
File: /builds/dumux-repositories/dumux/dumux/discretization/cellcentered/tpfa/subcontrolvolumeface.hh
Date: 2024-09-21 20:52:54
Exec Total Coverage
Lines: 11 18 61.1%
Functions: 21 88 23.9%
Branches: 455 568 80.1%

Line Branch Exec Source
1 // -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 // vi: set et ts=4 sw=4 sts=4:
3 //
4 // SPDX-FileCopyrightInfo: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5 // SPDX-License-Identifier: GPL-3.0-or-later
6 //
7 /*!
8 * \file
9 * \ingroup CCTpfaDiscretization
10 * \brief The sub control volume face
11 */
12 #ifndef DUMUX_DISCRETIZATION_CC_TPFA_SUBCONTROLVOLUMEFACE_HH
13 #define DUMUX_DISCRETIZATION_CC_TPFA_SUBCONTROLVOLUMEFACE_HH
14
15 #include <utility>
16 #include <vector>
17
18 #include <dune/common/reservedvector.hh>
19 #include <dune/geometry/type.hh>
20 #include <dune/geometry/multilineargeometry.hh>
21
22 #include <dumux/common/boundaryflag.hh>
23 #include <dumux/common/indextraits.hh>
24 #include <dumux/discretization/subcontrolvolumefacebase.hh>
25
26 namespace Dumux {
27
28 /*!
29 * \ingroup CCTpfaDiscretization
30 * \brief Default traits class to be used for the sub-control volume faces
31 * for the cell-centered finite volume scheme using TPFA
32 * \tparam GV the type of the grid view
33 */
34 template<class GridView>
35 struct CCTpfaDefaultScvfGeometryTraits
36 {
37 using Grid = typename GridView::Grid;
38
39 static constexpr int dim = Grid::dimension;
40 static constexpr int dimWorld = Grid::dimensionworld;
41
42 using Scalar = typename Grid::ctype;
43 using GridIndexType = typename IndexTraits<GridView>::GridIndex;
44 using LocalIndexType = typename IndexTraits<GridView>::LocalIndex;
45 using GridIndexStorage = typename std::conditional_t< (dim<dimWorld),
46 std::vector<GridIndexType>,
47 Dune::ReservedVector<GridIndexType, 2> >;
48
49 // we use geometry traits that use static corner vectors to and a fixed geometry type
50 template <class ct>
51 struct ScvfMLGTraits : public Dune::MultiLinearGeometryTraits<ct>
52 {
53 // we use static vectors to store the corners as we know
54 // the number of corners in advance (2^(dim-1) corners (1<<(dim-1))
55 template< int mydim, int cdim >
56 struct CornerStorage
57 {
58 using Type = Dune::ReservedVector< Dune::FieldVector< ct, cdim >, (1<<(dim-1)) >;
59 };
60 };
61
62 using Geometry = Dune::MultiLinearGeometry<Scalar, dim-1, dimWorld, ScvfMLGTraits<Scalar> >;
63 using CornerStorage = typename ScvfMLGTraits<Scalar>::template CornerStorage<dim-1, dimWorld>::Type;
64 using GlobalPosition = typename CornerStorage::value_type;
65 using BoundaryFlag = Dumux::BoundaryFlag<Grid>;
66 };
67
68 /*!
69 * \ingroup CCTpfaDiscretization
70 * \brief The sub control volume face
71 * \tparam GV the type of the grid view
72 * \tparam T the scvf geometry traits
73 */
74 template<class GV,
75 class T = CCTpfaDefaultScvfGeometryTraits<GV> >
76
10/44
✗ Branch 0 not taken.
✗ Branch 1 not taken.
✗ Branch 2 not taken.
✗ Branch 3 not taken.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
✗ Branch 6 not taken.
✗ Branch 7 not taken.
✗ Branch 8 not taken.
✗ Branch 9 not taken.
✗ Branch 10 not taken.
✓ Branch 11 taken 540 times.
✗ Branch 12 not taken.
✗ Branch 13 not taken.
✗ Branch 14 not taken.
✓ Branch 15 taken 180 times.
✓ Branch 16 taken 24148 times.
✗ Branch 17 not taken.
✓ Branch 18 taken 39706 times.
✗ Branch 19 not taken.
✓ Branch 20 taken 56902 times.
✗ Branch 21 not taken.
✗ Branch 22 not taken.
✓ Branch 23 taken 2154046 times.
✗ Branch 24 not taken.
✗ Branch 25 not taken.
✗ Branch 26 not taken.
✗ Branch 27 not taken.
✗ Branch 28 not taken.
✗ Branch 29 not taken.
✓ Branch 30 taken 14322 times.
✗ Branch 31 not taken.
✗ Branch 32 not taken.
✗ Branch 33 not taken.
✗ Branch 34 not taken.
✗ Branch 35 not taken.
✓ Branch 36 taken 192 times.
✗ Branch 37 not taken.
✓ Branch 38 taken 576 times.
✗ Branch 39 not taken.
✗ Branch 40 not taken.
✗ Branch 41 not taken.
✓ Branch 42 taken 686261 times.
✗ Branch 43 not taken.
5978614 class CCTpfaSubControlVolumeFace
77 : public SubControlVolumeFaceBase<CCTpfaSubControlVolumeFace<GV, T>, T>
78 {
79 using ThisType = CCTpfaSubControlVolumeFace<GV, T>;
80 using ParentType = SubControlVolumeFaceBase<ThisType, T>;
81 using GridIndexType = typename T::GridIndexType;
82 using Scalar = typename T::Scalar;
83 using CornerStorage = typename T::CornerStorage;
84 using GridIndexStorage = typename T::GridIndexStorage;
85 using BoundaryFlag = typename T::BoundaryFlag;
86
87 public:
88 //! export the type used for global coordinates
89 using GlobalPosition = typename T::GlobalPosition;
90 //! state the traits public and thus export all types
91 using Traits = T;
92
93 // the default constructor
94 CCTpfaSubControlVolumeFace() = default;
95
96 /*!
97 * \brief Constructor with intersection
98 *
99 * \param is The intersection
100 * \param isGeometry The geometry of the intersection
101 * \param scvfIndex The global index of this scv face
102 * \param scvIndices The inside/outside scv indices connected to this face
103 * \param isBoundary Bool to specify whether or not the scvf is on an interior or the domain boundary
104 */
105 template <class Intersection>
106 148488494 CCTpfaSubControlVolumeFace(const Intersection& is,
107 const typename Intersection::Geometry& isGeometry,
108 GridIndexType scvfIndex,
109 const GridIndexStorage& scvIndices,
110 bool isBoundary)
111 : ParentType()
112 , area_(isGeometry.volume())
113 , center_(isGeometry.center())
114 , unitOuterNormal_(is.centerUnitOuterNormal())
115 , scvfIndex_(scvfIndex)
116 , scvIndices_(scvIndices)
117 , boundary_(isBoundary)
118
26/64
✓ Branch 0 taken 17277816 times.
✓ Branch 1 taken 5759272 times.
✓ Branch 2 taken 1546 times.
✓ Branch 3 taken 26792 times.
✓ Branch 4 taken 73385 times.
✓ Branch 5 taken 2977117 times.
✗ Branch 6 not taken.
✗ Branch 7 not taken.
✗ Branch 8 not taken.
✗ Branch 9 not taken.
✗ Branch 10 not taken.
✗ Branch 11 not taken.
✗ Branch 12 not taken.
✗ Branch 13 not taken.
✗ Branch 14 not taken.
✗ Branch 15 not taken.
✗ Branch 16 not taken.
✗ Branch 17 not taken.
✗ Branch 18 not taken.
✗ Branch 19 not taken.
✗ Branch 20 not taken.
✗ Branch 21 not taken.
✗ Branch 22 not taken.
✗ Branch 23 not taken.
✗ Branch 24 not taken.
✓ Branch 25 taken 8153187 times.
✓ Branch 26 taken 8153187 times.
✓ Branch 27 taken 8153187 times.
✓ Branch 28 taken 8153187 times.
✓ Branch 29 taken 8153187 times.
✓ Branch 30 taken 8153187 times.
✗ Branch 31 not taken.
✗ Branch 32 not taken.
✗ Branch 33 not taken.
✗ Branch 34 not taken.
✗ Branch 35 not taken.
✗ Branch 36 not taken.
✗ Branch 37 not taken.
✗ Branch 38 not taken.
✗ Branch 39 not taken.
✗ Branch 40 not taken.
✗ Branch 41 not taken.
✗ Branch 42 not taken.
✗ Branch 43 not taken.
✗ Branch 44 not taken.
✗ Branch 45 not taken.
✗ Branch 46 not taken.
✗ Branch 47 not taken.
✗ Branch 48 not taken.
✗ Branch 49 not taken.
✓ Branch 50 taken 5040 times.
✓ Branch 51 taken 5080 times.
✓ Branch 52 taken 5080 times.
✓ Branch 53 taken 5080 times.
✓ Branch 54 taken 5080 times.
✓ Branch 55 taken 5080 times.
✓ Branch 56 taken 40 times.
✓ Branch 57 taken 9127432 times.
✓ Branch 58 taken 9127450 times.
✓ Branch 59 taken 9127450 times.
✓ Branch 60 taken 9127450 times.
✓ Branch 61 taken 9127450 times.
✓ Branch 62 taken 9127450 times.
✓ Branch 63 taken 18 times.
486227127 , boundaryFlag_{is}
119 113917060 {}
120
121 //! The center of the sub control volume face
122 const GlobalPosition& center() const
123 {
124
17/19
✓ Branch 0 taken 7870266 times.
✓ Branch 1 taken 12113412 times.
✓ Branch 2 taken 660633 times.
✓ Branch 3 taken 472308 times.
✓ Branch 4 taken 702009 times.
✓ Branch 5 taken 459269 times.
✓ Branch 6 taken 611920 times.
✓ Branch 7 taken 80173 times.
✓ Branch 8 taken 40109 times.
✓ Branch 9 taken 40064 times.
✓ Branch 10 taken 40109 times.
✓ Branch 11 taken 10 times.
✓ Branch 12 taken 76607 times.
✓ Branch 13 taken 40064 times.
✓ Branch 14 taken 40109 times.
✓ Branch 15 taken 36498 times.
✓ Branch 16 taken 10 times.
✗ Branch 18 not taken.
✗ Branch 19 not taken.
185935575 return center_;
125 }
126
127 //! The integration point for flux evaluations in global coordinates
128 const GlobalPosition& ipGlobal() const
129 {
130 // Return center for now
131
26/29
✓ Branch 0 taken 131348 times.
✓ Branch 1 taken 40759546 times.
✓ Branch 2 taken 212412 times.
✓ Branch 3 taken 1412796 times.
✓ Branch 4 taken 4819678 times.
✓ Branch 5 taken 264404 times.
✓ Branch 6 taken 3161019 times.
✓ Branch 7 taken 18615738 times.
✓ Branch 8 taken 119040 times.
✓ Branch 9 taken 5803776 times.
✓ Branch 10 taken 47517 times.
✓ Branch 11 taken 6005451 times.
✓ Branch 12 taken 29832 times.
✓ Branch 13 taken 34564 times.
✓ Branch 14 taken 3027080 times.
✓ Branch 15 taken 15419 times.
✓ Branch 16 taken 183885 times.
✓ Branch 17 taken 91568 times.
✓ Branch 18 taken 10558 times.
✓ Branch 19 taken 50 times.
✗ Branch 20 not taken.
✓ Branch 21 taken 96 times.
✗ Branch 22 not taken.
✓ Branch 23 taken 1892 times.
✓ Branch 24 taken 372 times.
✓ Branch 26 taken 20 times.
✓ Branch 27 taken 40 times.
✗ Branch 28 not taken.
✓ Branch 29 taken 8 times.
772019992 return center_;
132 }
133
134 //! The area of the sub control volume face
135 Scalar area() const
136 {
137 return area_;
138 }
139
140 //! returns true if the sub control volume face is on the boundary
141 bool boundary() const
142 {
143 return boundary_;
144 }
145
146 //! The unit outer normal of the sub control volume face
147 const GlobalPosition& unitOuterNormal() const
148 {
149
6/8
✓ Branch 0 taken 164886 times.
✓ Branch 1 taken 32601013 times.
✓ Branch 2 taken 19384765 times.
✓ Branch 3 taken 12 times.
✓ Branch 4 taken 788 times.
✓ Branch 5 taken 124504 times.
✗ Branch 6 not taken.
✗ Branch 7 not taken.
2512416258 return unitOuterNormal_;
150 }
151
152 //! index of the inside sub control volume
153 GridIndexType insideScvIdx() const
154 {
155
102/109
✓ Branch 0 taken 6404695 times.
✓ Branch 1 taken 7808149 times.
✓ Branch 2 taken 26645100 times.
✓ Branch 3 taken 25892630 times.
✓ Branch 4 taken 69178418 times.
✓ Branch 5 taken 60185628 times.
✓ Branch 6 taken 62243763 times.
✓ Branch 7 taken 47903335 times.
✓ Branch 8 taken 70823108 times.
✓ Branch 9 taken 60555804 times.
✓ Branch 10 taken 67341810 times.
✓ Branch 11 taken 61015142 times.
✓ Branch 12 taken 35582056 times.
✓ Branch 13 taken 33076496 times.
✓ Branch 14 taken 44669487 times.
✓ Branch 15 taken 43011990 times.
✓ Branch 16 taken 29303802 times.
✓ Branch 17 taken 27395856 times.
✓ Branch 18 taken 16277979 times.
✓ Branch 19 taken 14892440 times.
✓ Branch 20 taken 13027913 times.
✓ Branch 21 taken 10948516 times.
✓ Branch 22 taken 16735694 times.
✓ Branch 23 taken 15384216 times.
✓ Branch 24 taken 11098574 times.
✓ Branch 25 taken 10884117 times.
✓ Branch 26 taken 16320623 times.
✓ Branch 27 taken 14704490 times.
✓ Branch 28 taken 52912020 times.
✓ Branch 29 taken 51127372 times.
✓ Branch 30 taken 49955435 times.
✓ Branch 31 taken 49139350 times.
✓ Branch 32 taken 10915926 times.
✓ Branch 33 taken 10675232 times.
✓ Branch 34 taken 936161 times.
✓ Branch 35 taken 847426 times.
✓ Branch 36 taken 281072 times.
✓ Branch 37 taken 161630 times.
✓ Branch 38 taken 6541040 times.
✓ Branch 39 taken 4146420 times.
✓ Branch 40 taken 6916538 times.
✓ Branch 41 taken 4042452 times.
✓ Branch 42 taken 42105596 times.
✓ Branch 43 taken 3586208 times.
✓ Branch 44 taken 43628784 times.
✓ Branch 45 taken 5042362 times.
✓ Branch 46 taken 4974881 times.
✓ Branch 47 taken 4099468 times.
✓ Branch 48 taken 3860705 times.
✓ Branch 49 taken 2736954 times.
✓ Branch 50 taken 2217696 times.
✓ Branch 51 taken 2061630 times.
✓ Branch 52 taken 8046690 times.
✓ Branch 53 taken 5977850 times.
✓ Branch 54 taken 10730480 times.
✓ Branch 55 taken 8708728 times.
✓ Branch 56 taken 19131061 times.
✓ Branch 57 taken 17886550 times.
✓ Branch 58 taken 16719441 times.
✓ Branch 59 taken 15590018 times.
✓ Branch 60 taken 2168674 times.
✓ Branch 61 taken 1151756 times.
✓ Branch 62 taken 1888738 times.
✓ Branch 63 taken 1072356 times.
✓ Branch 64 taken 1414285 times.
✓ Branch 65 taken 980656 times.
✓ Branch 66 taken 1309665 times.
✓ Branch 67 taken 887806 times.
✓ Branch 68 taken 1068256 times.
✓ Branch 69 taken 1320932 times.
✓ Branch 70 taken 1049951 times.
✓ Branch 71 taken 1013588 times.
✓ Branch 72 taken 531587 times.
✓ Branch 73 taken 498708 times.
✓ Branch 74 taken 477108 times.
✓ Branch 75 taken 464928 times.
✓ Branch 76 taken 978752 times.
✓ Branch 77 taken 931420 times.
✓ Branch 78 taken 981452 times.
✓ Branch 79 taken 931669 times.
✓ Branch 80 taken 4456029 times.
✓ Branch 81 taken 4528536 times.
✓ Branch 82 taken 4533972 times.
✓ Branch 83 taken 4787184 times.
✓ Branch 84 taken 503112 times.
✓ Branch 85 taken 371676 times.
✓ Branch 86 taken 358608 times.
✗ Branch 87 not taken.
✓ Branch 88 taken 1404 times.
✓ Branch 89 taken 72 times.
✓ Branch 90 taken 54 times.
✓ Branch 91 taken 6192 times.
✓ Branch 92 taken 6624 times.
✓ Branch 93 taken 79932 times.
✓ Branch 94 taken 73236 times.
✓ Branch 95 taken 79932 times.
✓ Branch 96 taken 73236 times.
✗ Branch 97 not taken.
✗ Branch 98 not taken.
✗ Branch 99 not taken.
✓ Branch 100 taken 6048 times.
✓ Branch 101 taken 5616 times.
✓ Branch 102 taken 707616 times.
✓ Branch 103 taken 684288 times.
✓ Branch 104 taken 707616 times.
✓ Branch 105 taken 684288 times.
✗ Branch 106 not taken.
✗ Branch 108 not taken.
✗ Branch 109 not taken.
5993816645 return scvIndices_[0];
156 }
157
158 //! Index of the i-th outside sub control volume or boundary scv index.
159 // Results in undefined behaviour if i >= numOutsideScvs()
160 GridIndexType outsideScvIdx(int i = 0) const
161 {
162
86/98
✓ Branch 0 taken 7194877 times.
✓ Branch 1 taken 7195261 times.
✓ Branch 2 taken 70271698 times.
✓ Branch 3 taken 70310108 times.
✓ Branch 4 taken 65899918 times.
✓ Branch 5 taken 68976688 times.
✓ Branch 6 taken 66450900 times.
✓ Branch 7 taken 68554328 times.
✓ Branch 8 taken 75188099 times.
✓ Branch 9 taken 75795870 times.
✓ Branch 10 taken 35478188 times.
✓ Branch 11 taken 34767286 times.
✓ Branch 12 taken 31212298 times.
✓ Branch 13 taken 32760122 times.
✓ Branch 14 taken 11986723 times.
✓ Branch 15 taken 32125934 times.
✓ Branch 16 taken 138095414 times.
✓ Branch 17 taken 79362822 times.
✓ Branch 18 taken 138306126 times.
✓ Branch 19 taken 79619993 times.
✓ Branch 20 taken 6388470 times.
✓ Branch 21 taken 24130493 times.
✓ Branch 22 taken 3490417 times.
✓ Branch 23 taken 7661883 times.
✓ Branch 24 taken 1343215 times.
✓ Branch 25 taken 5678781 times.
✓ Branch 26 taken 42320082 times.
✓ Branch 27 taken 43150738 times.
✓ Branch 28 taken 45750080 times.
✓ Branch 29 taken 46570871 times.
✓ Branch 30 taken 3443600 times.
✓ Branch 31 taken 3412357 times.
✓ Branch 32 taken 158868 times.
✓ Branch 33 taken 1950 times.
✓ Branch 34 taken 48 times.
✓ Branch 35 taken 148784 times.
✓ Branch 36 taken 7099 times.
✓ Branch 37 taken 5136 times.
✓ Branch 38 taken 5149 times.
✓ Branch 39 taken 1456 times.
✗ Branch 40 not taken.
✓ Branch 41 taken 5866 times.
✓ Branch 42 taken 1817 times.
✓ Branch 43 taken 3124 times.
✓ Branch 44 taken 4729 times.
✓ Branch 45 taken 170 times.
✓ Branch 46 taken 74920 times.
✓ Branch 47 taken 111904 times.
✓ Branch 48 taken 74920 times.
✓ Branch 49 taken 111904 times.
✓ Branch 50 taken 2954 times.
✓ Branch 51 taken 340 times.
✗ Branch 52 not taken.
✓ Branch 53 taken 2954 times.
✓ Branch 54 taken 145492 times.
✗ Branch 55 not taken.
✓ Branch 56 taken 962 times.
✓ Branch 57 taken 220553 times.
✓ Branch 58 taken 1950 times.
✓ Branch 59 taken 975 times.
✓ Branch 60 taken 181728 times.
✓ Branch 61 taken 159076 times.
✓ Branch 62 taken 105838 times.
✓ Branch 63 taken 158591 times.
✓ Branch 64 taken 18 times.
✓ Branch 65 taken 971 times.
✓ Branch 66 taken 852 times.
✓ Branch 67 taken 2188 times.
✓ Branch 68 taken 1814 times.
✓ Branch 69 taken 1200 times.
✓ Branch 70 taken 988 times.
✓ Branch 71 taken 105820 times.
✓ Branch 72 taken 1404 times.
✓ Branch 73 taken 702 times.
✓ Branch 74 taken 107224 times.
✓ Branch 75 taken 720 times.
✓ Branch 76 taken 154440 times.
✓ Branch 77 taken 231444 times.
✓ Branch 78 taken 154458 times.
✓ Branch 79 taken 231444 times.
✓ Branch 80 taken 1404 times.
✓ Branch 81 taken 3318 times.
✓ Branch 82 taken 1404 times.
✓ Branch 83 taken 702 times.
✓ Branch 84 taken 2616 times.
✗ Branch 85 not taken.
✗ Branch 86 not taken.
✓ Branch 87 taken 154440 times.
✗ Branch 88 not taken.
✓ Branch 89 taken 1404 times.
✓ Branch 90 taken 154440 times.
✗ Branch 91 not taken.
✓ Branch 92 taken 1404 times.
✗ Branch 93 not taken.
✗ Branch 95 not taken.
✗ Branch 96 not taken.
✗ Branch 98 not taken.
✗ Branch 99 not taken.
5532712255 return scvIndices_[i+1];
163 }
164
165 //! The number of scvs on the outside of this face
166 std::size_t numOutsideScvs() const
167 {
168
181/194
✓ Branch 0 taken 8389494 times.
✓ Branch 1 taken 136369587 times.
✓ Branch 2 taken 10109196 times.
✓ Branch 3 taken 95627595 times.
✓ Branch 4 taken 1098342 times.
✓ Branch 5 taken 4459011 times.
✓ Branch 6 taken 17102802 times.
✓ Branch 7 taken 4483743 times.
✓ Branch 8 taken 9167738 times.
✓ Branch 9 taken 9045945 times.
✓ Branch 10 taken 75828489 times.
✓ Branch 11 taken 1860371 times.
✓ Branch 12 taken 2702369 times.
✓ Branch 13 taken 1814219 times.
✓ Branch 14 taken 16352336 times.
✓ Branch 15 taken 1944295 times.
✓ Branch 16 taken 30837303 times.
✓ Branch 17 taken 2450091 times.
✓ Branch 18 taken 43351638 times.
✓ Branch 19 taken 2988415 times.
✓ Branch 20 taken 5026534 times.
✓ Branch 21 taken 1155775 times.
✓ Branch 22 taken 9266906 times.
✓ Branch 23 taken 1110177 times.
✓ Branch 24 taken 25830033 times.
✓ Branch 25 taken 1756888 times.
✓ Branch 26 taken 21063433 times.
✓ Branch 27 taken 1769796 times.
✓ Branch 28 taken 18204710 times.
✓ Branch 29 taken 1106566 times.
✓ Branch 30 taken 3623877 times.
✓ Branch 31 taken 1137307 times.
✓ Branch 32 taken 3426817 times.
✓ Branch 33 taken 1210325 times.
✓ Branch 34 taken 23470146 times.
✓ Branch 35 taken 1171150 times.
✓ Branch 36 taken 3517473 times.
✓ Branch 37 taken 1257381 times.
✓ Branch 38 taken 3772617 times.
✓ Branch 39 taken 1073791 times.
✓ Branch 40 taken 23671032 times.
✓ Branch 41 taken 1770024 times.
✓ Branch 42 taken 3144641 times.
✓ Branch 43 taken 1054314 times.
✓ Branch 44 taken 3124134 times.
✓ Branch 45 taken 1038521 times.
✓ Branch 46 taken 37937 times.
✓ Branch 47 taken 18750 times.
✓ Branch 48 taken 51620 times.
✓ Branch 49 taken 363635 times.
✓ Branch 50 taken 77909 times.
✓ Branch 51 taken 82994 times.
✓ Branch 52 taken 50863 times.
✓ Branch 53 taken 213466 times.
✓ Branch 54 taken 35908 times.
✓ Branch 55 taken 177500 times.
✓ Branch 56 taken 26282 times.
✓ Branch 57 taken 146447 times.
✓ Branch 58 taken 344563 times.
✓ Branch 59 taken 316186 times.
✓ Branch 60 taken 107144 times.
✓ Branch 61 taken 939907 times.
✓ Branch 62 taken 127787 times.
✓ Branch 63 taken 1412468 times.
✓ Branch 64 taken 126309 times.
✓ Branch 65 taken 1336406 times.
✓ Branch 66 taken 117243 times.
✓ Branch 67 taken 129292 times.
✓ Branch 68 taken 127712 times.
✓ Branch 69 taken 135036 times.
✓ Branch 70 taken 226038 times.
✓ Branch 71 taken 125056 times.
✓ Branch 72 taken 1365302 times.
✓ Branch 73 taken 231204 times.
✓ Branch 74 taken 1364886 times.
✓ Branch 75 taken 141486 times.
✓ Branch 76 taken 119220 times.
✓ Branch 77 taken 30806 times.
✓ Branch 78 taken 151140 times.
✓ Branch 79 taken 117332 times.
✓ Branch 80 taken 192702 times.
✓ Branch 81 taken 117596 times.
✓ Branch 82 taken 3716 times.
✓ Branch 83 taken 471 times.
✓ Branch 84 taken 4552 times.
✓ Branch 85 taken 3383 times.
✓ Branch 86 taken 192999 times.
✓ Branch 87 taken 116515 times.
✓ Branch 88 taken 189945 times.
✓ Branch 89 taken 126043 times.
✓ Branch 90 taken 3536 times.
✓ Branch 91 taken 10678 times.
✓ Branch 92 taken 6448 times.
✓ Branch 93 taken 11164 times.
✓ Branch 94 taken 4736 times.
✓ Branch 95 taken 2462394 times.
✓ Branch 96 taken 28604 times.
✓ Branch 97 taken 1248246 times.
✓ Branch 98 taken 1744 times.
✓ Branch 99 taken 1744 times.
✓ Branch 100 taken 1422 times.
✓ Branch 101 taken 1744 times.
✓ Branch 102 taken 18 times.
✓ Branch 103 taken 4226 times.
✓ Branch 104 taken 11590 times.
✓ Branch 105 taken 2822 times.
✓ Branch 106 taken 12976 times.
✓ Branch 107 taken 358 times.
✓ Branch 108 taken 1744 times.
✓ Branch 109 taken 1744 times.
✓ Branch 110 taken 1422 times.
✓ Branch 111 taken 76350 times.
✓ Branch 112 taken 18 times.
✓ Branch 113 taken 44 times.
✓ Branch 114 taken 74938 times.
✓ Branch 115 taken 18 times.
✓ Branch 116 taken 74920 times.
✓ Branch 117 taken 75652 times.
✓ Branch 118 taken 76363 times.
✓ Branch 119 taken 75401 times.
✓ Branch 120 taken 2175 times.
✓ Branch 121 taken 75401 times.
✓ Branch 122 taken 265254 times.
✓ Branch 123 taken 159314 times.
✓ Branch 124 taken 340174 times.
✓ Branch 125 taken 159314 times.
✓ Branch 126 taken 74920 times.
✓ Branch 127 taken 87966 times.
✓ Branch 128 taken 74920 times.
✓ Branch 129 taken 2497576 times.
✓ Branch 130 taken 1814 times.
✓ Branch 131 taken 2422656 times.
✓ Branch 132 taken 2174 times.
✓ Branch 133 taken 1814 times.
✓ Branch 134 taken 2174 times.
✓ Branch 135 taken 1814 times.
✗ Branch 136 not taken.
✓ Branch 137 taken 3766 times.
✗ Branch 138 not taken.
✓ Branch 139 taken 2804 times.
✓ Branch 140 taken 962 times.
✗ Branch 141 not taken.
✓ Branch 142 taken 962 times.
✓ Branch 143 taken 962 times.
✓ Branch 144 taken 962 times.
✓ Branch 145 taken 988 times.
✗ Branch 146 not taken.
✓ Branch 147 taken 105846 times.
✗ Branch 148 not taken.
✗ Branch 149 not taken.
✓ Branch 150 taken 105820 times.
✗ Branch 151 not taken.
✓ Branch 152 taken 107926 times.
✓ Branch 153 taken 106522 times.
✓ Branch 154 taken 107926 times.
✓ Branch 155 taken 106522 times.
✓ Branch 156 taken 385884 times.
✓ Branch 157 taken 337264 times.
✓ Branch 158 taken 385884 times.
✓ Branch 159 taken 231444 times.
✓ Branch 160 taken 105820 times.
✓ Branch 161 taken 1404 times.
✓ Branch 162 taken 105820 times.
✓ Branch 163 taken 105820 times.
✓ Branch 164 taken 107224 times.
✓ Branch 165 taken 105820 times.
✓ Branch 166 taken 1404 times.
✓ Branch 167 taken 1404 times.
✓ Branch 168 taken 1404 times.
✓ Branch 169 taken 1404 times.
✓ Branch 171 taken 1404 times.
✗ Branch 172 not taken.
✓ Branch 174 taken 1404 times.
✗ Branch 175 not taken.
✓ Branch 176 taken 1404 times.
✓ Branch 177 taken 1404 times.
✓ Branch 178 taken 1404 times.
✓ Branch 179 taken 1404 times.
✓ Branch 181 taken 154440 times.
✗ Branch 182 not taken.
✓ Branch 184 taken 154440 times.
✗ Branch 185 not taken.
✓ Branch 186 taken 154440 times.
✓ Branch 187 taken 154440 times.
✓ Branch 188 taken 154440 times.
✓ Branch 189 taken 154440 times.
✓ Branch 191 taken 154440 times.
✗ Branch 192 not taken.
✓ Branch 194 taken 154440 times.
✗ Branch 195 not taken.
✓ Branch 196 taken 154440 times.
✓ Branch 197 taken 154440 times.
✓ Branch 198 taken 154440 times.
✓ Branch 199 taken 154440 times.
663460985 return scvIndices_.size()-1;
169 }
170
171 //! The global index of this sub control volume face
172 GridIndexType index() const
173 {
174 return scvfIndex_;
175 }
176
177 //! Return the boundary flag
178 typename BoundaryFlag::value_type boundaryFlag() const
179 {
180
1/3
✗ Branch 0 not taken.
✓ Branch 1 taken 743964 times.
✗ Branch 2 not taken.
1194731 return boundaryFlag_.get();
181 }
182
183 private:
184 Scalar area_;
185 GlobalPosition center_;
186 GlobalPosition unitOuterNormal_;
187 GridIndexType scvfIndex_;
188 GridIndexStorage scvIndices_;
189 bool boundary_;
190 BoundaryFlag boundaryFlag_;
191 };
192
193 } // end namespace Dumux
194
195 #endif
196