GCC Code Coverage Report


Directory: ../../../builds/dumux-repositories/
File: /builds/dumux-repositories/dumux/dumux/porousmediumflow/richards/velocityoutput.hh
Date: 2024-05-04 19:09:25
Exec Total Coverage
Lines: 2 2 100.0%
Functions: 14 14 100.0%
Branches: 1 4 25.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-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 RichardsModel
10 * \brief Velocity output for the Richards model.
11 */
12
13 #ifndef DUMUX_POROUSMEDIUMFLOW_RICHARDS_VELOCITYOUTPUT_HH
14 #define DUMUX_POROUSMEDIUMFLOW_RICHARDS_VELOCITYOUTPUT_HH
15
16 #include <dumux/porousmediumflow/velocityoutput.hh>
17
18 namespace Dumux {
19
20 /*!
21 * \ingroup RichardsModel
22 * \brief Velocity output policy for the Richards model.
23 */
24 template<class GridVariables, class FluxVariables>
25 class RichardsVelocityOutput : public PorousMediumFlowVelocityOutput<GridVariables, FluxVariables>
26 {
27 using ParentType = PorousMediumFlowVelocityOutput<GridVariables, FluxVariables>;
28
29 public:
30
1/4
✗ Branch 1 not taken.
✗ Branch 2 not taken.
✓ Branch 5 taken 32 times.
✗ Branch 6 not taken.
32 using ParentType::ParentType;
31
32 //! Returns the number of phases.
33 20623 int numFluidPhases() const override { return 1; }
34
35 };
36
37 } // end namespace Dumux
38
39 #endif
40