version 3.11-dev
Loading...
Searching...
No Matches
gravitytermdensity.hh
Go to the documentation of this file.
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//
12#ifndef DUMUX_FLUX_GRAVITY_TERM_DENSITY_HH
13#define DUMUX_FLUX_GRAVITY_TERM_DENSITY_HH
14
15namespace Dumux {
16
22{
23 template<class Problem, class Variables>
24 static auto density(const Problem&, const Variables& vars, int phaseIdx)
25 { return vars.density(phaseIdx); }
26};
27
28} // end namespace Dumux
29
30#endif
Definition adapt.hh:17
The phase density is the density in the gravity term of Darcy's law.
Definition gravitytermdensity.hh:22
static auto density(const Problem &, const Variables &vars, int phaseIdx)
Definition gravitytermdensity.hh:24