GCC Code Coverage Report


Directory: ../../../builds/dumux-repositories/
File: dumux/dumux/porousmediumflow/fvspatialparams1p.hh
Date: 2025-04-12 19:19:20
Exec Total Coverage
Lines: 2 2 100.0%
Functions: 0 0 -%
Branches: 7 20 35.0%

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-FileCopyrightText: 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 SpatialParameters
10 * \brief The base class for spatial parameters in single-phase porous-medium-flow problems.
11 */
12 #ifndef DUMUX_POROUS_MEDIUM_FLOW_FV_SPATIAL_PARAMS_ONEP_HH
13 #define DUMUX_POROUS_MEDIUM_FLOW_FV_SPATIAL_PARAMS_ONEP_HH
14
15 #include "fvspatialparams.hh"
16
17 namespace Dumux {
18
19 /*!
20 * \ingroup SpatialParameters
21 * \brief The base class for spatial parameters of single-phase problems.
22 */
23 template<class GridGeometry, class Scalar, class Implementation>
24
3/12
✓ Branch 0 taken 223 times.
✗ Branch 1 not taken.
✓ Branch 2 taken 52 times.
✗ Branch 3 not taken.
✓ Branch 4 taken 2 times.
✗ 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 not taken.
278 class FVPorousMediumFlowSpatialParamsOneP
25 : public FVPorousMediumFlowSpatialParams<GridGeometry, Scalar, Implementation>
26 {
27 using ParentType = FVPorousMediumFlowSpatialParams<GridGeometry, Scalar, Implementation>;
28
29 public:
30
4/8
✓ Branch 1 taken 293 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 79 times.
✗ Branch 5 not taken.
✓ Branch 7 taken 6 times.
✗ Branch 8 not taken.
✓ Branch 10 taken 3 times.
✗ Branch 11 not taken.
381 using ParentType::ParentType;
31 };
32
33 } // namespace Dumux
34
35 #endif
36