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 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 |
|
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 |
|
|
|