version 3.8
porousmediumflow/richardsextended/indices.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-FileCopyrightInfo: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
13#ifndef DUMUX_RICHARDSEXTENDED_INDICES_HH
14#define DUMUX_RICHARDSEXTENDED_INDICES_HH
15
17
18namespace Dumux {
19
26{
27 static constexpr int switchIdx = 0;
28
29 // present phases (-> 'pseudo' primary variable)
30 static constexpr int liquidPhaseOnly = 1;
31 static constexpr int gasPhaseOnly = 2;
32 static constexpr int bothPhases = 3;
33};
34
35} // end namespace Dumux
36
37#endif
Definition: adapt.hh:17
Index names for the Richards model.
Index names for the extended Richards model.
Definition: porousmediumflow/richardsextended/indices.hh:26
static constexpr int gasPhaseOnly
Only the gas phase is present.
Definition: porousmediumflow/richardsextended/indices.hh:31
static constexpr int liquidPhaseOnly
Only the liquid phase is present.
Definition: porousmediumflow/richardsextended/indices.hh:30
static constexpr int bothPhases
Both phases are present.
Definition: porousmediumflow/richardsextended/indices.hh:32
static constexpr int switchIdx
Definition: porousmediumflow/richardsextended/indices.hh:27
Index names for the Richards model.
Definition: porousmediumflow/richards/indices.hh:24