version 3.8
porousmediumflow/3p/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_3P_INDICES_HH
14#define DUMUX_3P_INDICES_HH
15
16namespace Dumux {
17
23{
24public:
25 // Primary variable indices
26 static constexpr int pressureIdx = 0;
27 static constexpr int swIdx = 1;
28 static constexpr int snIdx = 2;
29
30 // equation indices
31 static constexpr int conti0EqIdx = 0;
32};
33
34} // end namespace Dumux
35
36#endif
The common indices for the isothermal three-phase model.
Definition: porousmediumflow/3p/indices.hh:23
static constexpr int pressureIdx
index for gas phase pressure in a solution vector
Definition: porousmediumflow/3p/indices.hh:26
static constexpr int snIdx
index of (e.g.) NAPL saturation
Definition: porousmediumflow/3p/indices.hh:28
static constexpr int swIdx
index of water (more wetting than the other liquid) saturation
Definition: porousmediumflow/3p/indices.hh:27
static constexpr int conti0EqIdx
index of first balance equation
Definition: porousmediumflow/3p/indices.hh:31
Definition: adapt.hh:17