version 3.8
freeflow/navierstokes/mass/1pnc/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//
12#ifndef DUMUX_NAVIERSTOKES_MASS_1P_INDICES_HH
13#define DUMUX_NAVIERSTOKES_MASS_1P_INDICES_HH
14
15namespace Dumux {
16
21struct NavierStokesMassOnePIndices
22{
23 static constexpr int conti0EqIdx = 0;
24 static constexpr int pressureIdx = conti0EqIdx;
25};
26
27} // end namespace Dumux
28
29#endif
Definition: adapt.hh:17
static constexpr int pressureIdx
Index of the pressure.
Definition: freeflow/navierstokes/mass/1p/indices.hh:24
static constexpr int conti0EqIdx
Index of the first (total for pure-fluid systems) mass balance equation.
Definition: freeflow/navierstokes/mass/1p/indices.hh:23